Autocompletion Population

40 views
Skip to first unread message

BeeRich33

unread,
Apr 27, 2020, 8:08:11 AM4/27/20
to BBEdit Talk
Hi folks.

I'd like to have autocompletion of the modules/methods names that I create.  I can crontab a script that can export filenames and contents of the modulename.methodname to a folder that's been set up properly in the Clippings folder.

I was hoping to have them available in context when developing, but for some reason they aren't taking.  They show up in the clippings Palette (the permanent pallette, to be clear), so they work.  They just don't show up in autocomplete, which I have set to manual.

The manual says Clippings are included in the autocomplete options.  

I'm on version 12.1.6 if that makes any difference.  It shouldn't. 

Any insight appreciated.  Cheers

BeeRich33

unread,
Apr 27, 2020, 8:11:13 AM4/27/20
to BBEdit Talk
I guess the question is, which I left out, was "can this be done?"  And/or "What am I doing wrong?"

Charlie Garrison

unread,
Apr 27, 2020, 7:30:11 PM4/27/20
to BBEdit Talk

On 27 Apr 2020, at 22:07, BeeRich33 wrote:

I'd like to have autocompletion of the modules/methods names that I create.  I can crontab a script that can export filenames and contents of the  **modulename.methodname**  to a folder that's been set up properly in the  **Clippings**  folder.

You are probably looking for "ctags". BBEdit has first-class support for them, so have a look in the manual and see if that will do what you're looking for.

-cng

--

Charlie Garrison                   <cha...@garrison.com.au>
Garrison Computer Services      <http://www.garrison.com.au>
PO Box 380
Tumbarumba NSW 2653  Australia
Reply all
Reply to author
Forward
0 new messages