aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nim/nim.pro
diff options
context:
space:
mode:
authorFilippo Cucchetto <filippocucchetto@gmail.com>2018-12-23 15:18:06 +0100
committerFilippo Cucchetto <filippocucchetto@gmail.com>2019-01-08 14:51:16 +0000
commit4f6ce9d61494593a8ab90093d832dcaa8a1c76cf (patch)
tree746541b7e4da7418c0de79356699c53ae6ccefd7 /src/plugins/nim/nim.pro
parent1f974bdbbfd06170d83325a26db4fd68498c1f73 (diff)
Nim: Add code completion with NimSuggest
This patch add basic support for completion by using the NimSuggest executable. The user is expected to configure the path to NimSuggest by using the new tools configuration page in the Nim settings. For now we don't support advanced completion of function parameters. This will be added in further patches. Change-Id: I5097ee2b3992486071591109c400d9c84da5fc00 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/nim/nim.pro')
-rw-r--r--src/plugins/nim/nim.pro23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/plugins/nim/nim.pro b/src/plugins/nim/nim.pro
index 1247d4b5586..e2e4fb18c1b 100644
--- a/src/plugins/nim/nim.pro
+++ b/src/plugins/nim/nim.pro
@@ -11,6 +11,7 @@ INCLUDEPATH += $$PWD
HEADERS += \
nimplugin.h \
nimconstants.h \
+ editor/nimcompletionassistprovider.h \
editor/nimhighlighter.h \
editor/nimindenter.h \
tools/nimlexer.h \
@@ -29,11 +30,20 @@ HEADERS += \
settings/nimcodestylepreferencesfactory.h \
settings/nimsettings.h \
settings/nimcodestylepreferenceswidget.h \
+ settings/nimtoolssettingspage.h \
project/nimtoolchain.h \
- project/nimtoolchainfactory.h
+ project/nimtoolchainfactory.h \
+ suggest/client.h \
+ suggest/clientrequests.h \
+ suggest/nimsuggest.h \
+ suggest/nimsuggestcache.h \
+ suggest/server.h \
+ suggest/sexprlexer.h \
+ suggest/sexprparser.h
SOURCES += \
nimplugin.cpp \
+ editor/nimcompletionassistprovider.cpp \
editor/nimhighlighter.cpp \
editor/nimindenter.cpp \
tools/nimlexer.cpp \
@@ -51,10 +61,17 @@ SOURCES += \
settings/nimcodestylepreferencesfactory.cpp \
settings/nimsettings.cpp \
settings/nimcodestylepreferenceswidget.cpp \
+ settings/nimtoolssettingspage.cpp \
project/nimtoolchain.cpp \
- project/nimtoolchainfactory.cpp
+ project/nimtoolchainfactory.cpp \
+ suggest/client.cpp \
+ suggest/clientrequests.cpp \
+ suggest/nimsuggest.cpp \
+ suggest/nimsuggestcache.cpp \
+ suggest/server.cpp
FORMS += \
project/nimcompilerbuildstepconfigwidget.ui \
project/nimcompilercleanstepconfigwidget.ui \
- settings/nimcodestylepreferenceswidget.ui
+ settings/nimcodestylepreferenceswidget.ui \
+ settings/nimtoolssettingswidget.ui