Hey guys,
I have created a syntax highlighter and calltips (tooltips) for Notepad++ for NetXMS's scripting language NXSL.
How the calltips work:
(http://s25.postimg.org/5ja8i8zj3/nsxl_calltips.png)
How the highlighting works:
(http://s25.postimg.org/45ilmy09r/nsxl_syntax_highlight.png)
You can find all the necessary info (and files for download) at:
https://github.com/tomaskir/netxms-notepad_pp.git
Regards,
tom
Changelog:
v2016010701:
Added new functions from 2.0 release to syntax highlight and calltips
Fixed cosmetic errors in Calltips
Fixed multi-line comments not being styled
Fixed escaped quote breaking styling in strings
Files moved to GitHub
v2014102202:
Added a few missing calltips
v2014102201:
Added function calltips!
Added new functions from 1.2.17
v2014091901:
Fixed auto extention handling (.nxs - for real this time)
Added .xml extension to the file for easier import into Notepad++
v2014081801:
Fixed auto extention handling (broken in v2014081701)
Fixed some keywords missing (broken in v2014081701)
v2014081701:
Added missing keywords provided by Alex Kirhenshtein
v2014081601:
Added auto extention handling (.nxs)
Added a few missing keywords and operators
v2014081501:
Original syntax file
Thank you for contributing, awesome work.
I did a quick check, and it seems that you missed couple of functions:
FindAllDCIs
GetDCIValues
_exit (instead of "exit")
There is also "nxinstall" command line tool, which provide couple more functions. I don't think that anyone except us use this tool, but here is list, just for the reference:
CopyFile
DeleteFile
RenameFile
access
chdir
fclose
feof
fgets
fopen
fputs
mkdir
rmdir
system
Thanks for listing those!
Updated the syntax file in the attachement of the main post :)
With todays update:
Added support for NXSL function calltips in Notepad++.
If anyone gets a chance to try this, let me know if it works :)
Quote from: tomaskir on October 22, 2014, 01:56:06 PMWith todays update:
Added support for NXSL function calltips in Notepad++.
If anyone gets a chance to try this, let me know if it works :)
Quote from: tomaskir on August 16, 2014, 03:52:11 PMChangelog:
v2016010701:
Added new functions from 2.0 release to syntax highlight and calltips
Fixed cosmetic errors in Calltips
Fixed multi-line comments not being styled
Fixed escaped quote breaking styling in strings
Files moved to GitHub
v2014102202:
Added a few missing calltips
v2014102201:
Added function calltips!
Added new functions from 1.2.17
v2014091901:
Fixed auto extention handling (.nxs - for real this time)
Added .xml extension to the file for easier import into Notepad++
v2014081801:
Fixed auto extention handling (broken in v2014081701)
Fixed some keywords missing (broken in v2014081701)
v2014081701:
Added missing keywords provided by Alex Kirhenshtein
v2014081601:
Added auto extention handling (.nxs)
Added a few missing keywords and operators
v2014081501:
Original syntax file
This is very cool dude. It works great and it was just what I needed. Thanks..
Update for release of NetXMS 2.0!
v2016010701:
Added new functions from 2.0 release to syntax highlight and calltips
Fixed cosmetic errors in Calltips
Fixed multi-line comments not being styled
Fixed escaped quote breaking styling in strings
Files moved to GitHub
All the files are now located on GitHub at:
https://github.com/tomaskir/netxms-notepad_pp.git