SCITE as nodejs groovy and qml (qtquick 2.0) c++11 IDE

copyright (C) 2011-2017 iesensor.com

in cpp.properties global setting file (sudo scite on  Linux)

#at the begining of this config file:

file.patterns.java=*.java;*.jad;*.pde;*.groovy

file.patterns.js=*.js;*.es;*.js6
#file.patterns.qml=*.qml

##############add for C++11 mingw32##########

#add more header and lib file path to support third party lib

cpluspluspts= -pedantic  -Os   -std=c++11  -I D:\Software\mingw64\include -L D:\Software\mingw64\lib

# support only single file compile directly into binary, no makefile is needed
cc=$(GCCPATH)\g++ $(ccopts)  -c $(FileNameExt) -o $(FileName).o

#################modify #####################
command.compile.$(file.patterns.cplusplus)=$(GCCPATH)\g++ $(cpluspluspts) $(FileNameExt) -o $(FileName)
command.build.$(file.patterns.cplusplus)=$(make.command)
command.go.$(file.patterns.cplusplus)=PATH $(GCCPATH);%PATH%  &&  $(FileName)
command.go.needs.$(file.patterns.cplusplus)=$(GCCPATH)\g++ $(cpluspluspts) $(FileNameExt) -o $(FileName)

##################add ######################
command.go.*.js=node.exe $(FileNameExt)
#es6 is not standard file suffix
command.go.*.js6=node.exe  –harmony $(FileNameExt)
###################################
keywords.$(file.patterns.qml)=$(keywordclass.javascript)
QT5PATH=C:\Qt\5.2.0\mingw48_32\bin;C:\Qt\Tools\mingw48_32\bin;%PATH%
command.go.*.qml=PATH $(QT5PATH) && qmlscene  $(FileNameExt)
#if it does not work, ->  start qmlscene from Qt for desktop command prompt!
#######################################
#tab openning needs to be adjusted,  append *.groovy    to java pattern for the timebeing
#file.patterns.groovy=*.groovy
#GROOVYPATH=D:\Software\Groovy2\bin\
#script need not compile and make
#command.compile.*.groovy=groovyc $(FileNameExt)
keywords.$(file.patterns.groovy)=$(keywordclass.java)
command.go.*.groovy=groovy $(FileNameExt)
###################################

BSD documentation licensed Free for non-commercial usage only
Author: Qingfeng XIA
copyright (C) 2011-2017
http://www.iesensor.com
please keep the original link in your reference.
http://www.iesensor.com/blog/2014/07/26/scite-as-nodejs-groovy-and-qml-qtquick-2-0-c11-ide/
This entry was posted in Uncategorized. Bookmark the permalink.