I have a question that is hopefully simple. I'm somewhat of a BBEdit beginner, so please keep that in mind when answering.
I'm currently working on a huge project in which I am adding character attributions to book dialogue from a very large fantasy series, so it's a lot of work. I'm trying to make the process go as fast as possible, so I'm hoping to have autocomplete use a list of character names to make it go faster. Here is a screenshot of some sample text from the book I'm working on:
As you can see, I am using a custom language called "Shawn" so that I can use custom colors for attributions (blue), normal text (black), and dialogue text (brown). I figured out how to do this by asking a question of this group and y'all were very helpful!
So my current process is to find "xxx" which selects the "xxx" and allows me to just type the character name, then do a "find next" (command-G) to move on to the next one. However, I want to be able to just type the first 1-2 letters of the name and then hit <tab> to insert the name using autocomplete. Ideally the autocomplete suggestions would only include character names from a list, such as "Bran, Cenn, Mat" for the above example. This doesn't speed up the process much with the short names, but it would definitely be helpful for longer more complex names.
From reading the BBEdit documentation this seems possible, especially since I'm using a custom language, but I can't figure out how to do it. I also can't get autocomplete to work at all when using my custom language. Nothing happens, and the "Complete" menu item in the Edit menu is grayed out. I have completion enabled in both the completion preferences and the language specific settings, so I don't know why it's not working.
Thanks in advance for any help that y'all can offer!
-shawn
P.S. In case anyone was wondering, I'm adding the blank attributions ([xxx]) in one step using a Python script that inserts [xxx] at the begging of every line that has dialogue in it (lines that contain a beginning quote mark).