[Qt-creator] NimPlugin: autocompletion

Filippo Cucchetto filippocucchetto at gmail.com
Fri May 22 00:46:34 CEST 2015


Hi,
i'm developing a QtCreator plugin for the Nim programming language here (
https://github.com/filcuc/QtCreatorNimEditor). Actually i've syntax
highlighting and indentation and i would like to start adding auto
completion.
The Nim programming language already provides a server app (nimsuggest)
to which i can request suggestions/info passing the current file and cursor
position. This means that i don't need to create a Nim parser and AST.
What are the minimum steps for showing up the QtCreator completion popup
and for filling in the the menu entries?
I've already gave a look to both the QmlEditor and CppEditor plugins so
what i need is just the list of classes i should implement and the most
important functions (maybe with an overall vision about how they relate to
each other).

Thank you :)

-- 
Filippo Cucchetto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150522/5ed0dee8/attachment.html>


More information about the Qt-creator mailing list