Create vocabulary autocompletion

Discuss any topics about the editor here

Create vocabulary autocompletion

Postby tima » Mon Mar 17, 2014 3:24 pm

Hi Cody,
I just want know if is possible (and how I can do it) to create a vocabolary of word
and view that in codebrowser, or in autocompletion...
there are some file to modify?

Grazie.
tima
 

Re: Create vocabulary autocompletion

Postby cody » Thu Mar 20, 2014 6:10 pm

Hello,

CodeBrowser is a plugin, source code is in the plugins directory of the source package. It can be extended by adding a doc parser definition and registering it in the table of filetype to parsers in the gentag module.

Autocompletion modules can be added to 'autocomp' package in the source directory. It works in similar way to codebrowser as it associates a file lexer id with an autocomp provider module.

If your trying to create support for a new language type in editra that editra does not already support you may also have to define a language profile module (see the syntax directory). Some additional documentation may be found here: http://editra.org/documentation

Sorry I don't think I can help too much more unless you run int specific questions as I unfortunately haven't had much time for this project over last year.
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron