QmlJS: Add CompletionContextFinder to allow context sensitive completion

The plan is to use this to reduce the number of applicable
completion options, for instance for enum completion or property
names.

Done-with: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-04-28 13:28:36 +02:00
parent bd71243407
commit 722ba33770
6 changed files with 202 additions and 9 deletions

View File

@@ -19,7 +19,8 @@ HEADERS += \
$$PWD/qmljslink.h \
$$PWD/qmljscheck.h \
$$PWD/qmljsscopebuilder.h \
$$PWD/qmljslineinfo.h
$$PWD/qmljslineinfo.h \
$$PWD/qmljscompletioncontextfinder.h
SOURCES += \
$$PWD/qmljsbind.cpp \
@@ -30,7 +31,8 @@ SOURCES += \
$$PWD/qmljslink.cpp \
$$PWD/qmljscheck.cpp \
$$PWD/qmljsscopebuilder.cpp \
$$PWD/qmljslineinfo.cpp
$$PWD/qmljslineinfo.cpp \
$$PWD/qmljscompletioncontextfinder.cpp
contains(QT, gui) {
SOURCES += $$PWD/qmljsindenter.cpp