Notepad++ syntax highlighting for gnuplot
-
Hello eveyone,
I wanted to know if there is any syntax highlighting for gnuplot. That recognize my gnuplot script code. In summary, I would like notepad ++ to leave them colored. I found information on the internet from 2008, but it did not work.
In vim softwate (linux) this is common.
Thanks in advance
-
There is no buildin support, but you could extend N++ with an UDL, see http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files and there
http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_Gnuplot.xml -
@chcg said:
There is no buildin support, but you could extend N++ with an UDL, see http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files and there
http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_Gnuplot.xmlThe link to file stored on the site is broken … I knew that site… tks
-
You can try the ScintilluaPlusPlus plugin that supports GnuPlot.
-
@Luciano-Ribeiro Which link do you think is broken? Link is to the xml file and that is working for me:
<NotepadPlus> <UserLang name="Gnuplot" ext=".plt"> <Settings> <Global caseIgnored="no"/> <TreatAsSymbol comment="no" commentLine="yes"/> <Prefix words1="no" words2="no" words3="no" words4="no"/> </Settings> <KeywordLists> <Keywords name="Delimiters">000000</Keywords> <Keywords name="Folder+"/> <Keywords name="Folder-"/> <Keywords name="Operators">" ( ) * [ ] +</Keywords> <Keywords name="Comment">1 2 0#</Keywords> <Keywords name="Words1">set cd call clear exit fit help history if load lower pause plot print pwd quit raise replot reread reset save set-show shell splot system test unset update</Keywords> <Keywords name="Words2">lt lw angles arrow autoscale bars bmargin border boxwidth clabel clip cntrparam color box contour data style datafile decimalsign dgrid3d dummy encoding fit fontpath format function style functions grid hidden3d historysize isosamples key label lmargin loadpath locale logscale macros mapping margin mouse multiplot mx2tics mxtics my2tics mytics mztics offsets origin output parametric plot pm3d palette pointsize polar print object rmargin rrange samples size style surface table terminal termoption tics ticslevel ticscale timestamp timefmt title tmargin trange urange variables version view vrange x2data x2dtics x2label x2mtics x2range x2tics x2zeroaxis xdata xdtics xlabel xmtics xrange xtics xyplane xzeroaxis y2data y2dtics y2label y2mtics y2range y2tics y2zeroaxis ydata ydtics ylabel ymtics yrange ytics yzeroaxis zdata zdtics zzeroaxis cbdata cbdtics zero zeroaxis zlabel zmtics zrange ztics cblabel cbmtics cbrange cbtics</Keywords> <Keywords name="Words3">abs acos acosh arg asin asinh atan atan2 atanh besj0 besj1 besy0 besy1 ceil cos cosh erf erfc exp floor gamma ibeta inverf igamma imag invnorm int lambertw lgamma log log10 norm rand real sgn sin sinh sqrt tan tanh gprintf sprintf strlen strstrt substr system word words column defined exists stringcolumn timecolumn tm_hour tm_mday tm_min tm_mon tm_sec tm_wday tm_yday tm_year valid</Keywords> <Keywords name="Words4">iso_8859_1 windows</Keywords> </KeywordLists> <Styles> <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD1" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD4" styleID="8" fgColor="800040" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="2"/> <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> </Styles> </UserLang> </NotepadPlus>