forked from qt-creator/qt-creator
Added PythonEditor plugin
Contains lexical highlighter, indenter and file wizard. Icon loaded from theme, if possible. Class wizard will be added later since it needs to extend libUtils. Change-Id: If723867c01e9be83371424e406d116805c88c2b0 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
42
src/plugins/pythoneditor/pythoneditor.pro
Normal file
42
src/plugins/pythoneditor/pythoneditor.pro
Normal file
@@ -0,0 +1,42 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = PythonEditor
|
||||
|
||||
include(../../qtcreatorplugin.pri)
|
||||
|
||||
# dependencies
|
||||
include(../../plugins/coreplugin/coreplugin.pri)
|
||||
include(../../plugins/texteditor/texteditor.pri)
|
||||
include(../../plugins/cpptools/cpptools.pri)
|
||||
|
||||
DEFINES += \
|
||||
PYEDITOR_LIBRARY
|
||||
|
||||
OTHER_FILES += PythonEditor.pluginspec.in \
|
||||
pythoneditor.mimetypes.xml
|
||||
|
||||
RESOURCES += \
|
||||
pythoneditorplugin.qrc
|
||||
|
||||
HEADERS += \
|
||||
pythoneditor_global.h \
|
||||
pythoneditorplugin.h \
|
||||
pythoneditorfactory.h \
|
||||
pythoneditor.h \
|
||||
pythoneditorwidget.h \
|
||||
pythoneditorconstants.h \
|
||||
wizard/pythonfilewizard.h \
|
||||
tools/pythonhighlighter.h \
|
||||
tools/pythonindenter.h \
|
||||
tools/lexical/pythonformattoken.h \
|
||||
tools/lexical/pythonscanner.h \
|
||||
tools/lexical/sourcecodestream.h
|
||||
|
||||
SOURCES += \
|
||||
pythoneditorplugin.cpp \
|
||||
pythoneditorfactory.cpp \
|
||||
pythoneditor.cpp \
|
||||
pythoneditorwidget.cpp \
|
||||
wizard/pythonfilewizard.cpp \
|
||||
tools/pythonhighlighter.cpp \
|
||||
tools/pythonindenter.cpp \
|
||||
tools/lexical/pythonscanner.cpp
|
||||
Reference in New Issue
Block a user