Nexus Skirmisher
Nexus Modding => Scripting => Topic started by: Mularac on November 12, 2015, 20:09:05
-
Hi! What IDEs are you currently using to script Nexus? Have you defined a custom language for those IDEs?
Are you willing to share it?
This post is one part census, one part shamelessly begging for a pretty script that highlights relevants parts in colors and stuff. I'm currently using Notepad++ with 'C' language on, but something with some expanded functionality in our beloved modding language will be welcomed.
-
Hi Mularac,
Like you, I use NP++, though I tend to set the language to C++ or Pascal.
Haven't really felt the need to tinker with the settings too much, I'm afraid.
-
Drat. Some years ago (! time sure does fly) I've created a custom one... with collapsable rules and states... Now I'm too lazy to do it again.
-
Drat. Some years ago (! time sure does fly) I've created a custom one... with collapsable rules and states... Now I'm too lazy to do it again.
You can use mine, if u wish (see attachment). I, too, am using Notepad++ for all of my scripting. Would be really great to have a powerful IDE like Visual Studio with IntelliSense and stop and resume debugging capabilities, but I fear N++ is as good as it gets for Nexus scripting.
Regarding the attached XML: you can import it in Notepad++ under "Languages"->"Define your language"->"Import..."
You might have to change the colors to better fit your default color scheme. I'm using Notepad++'s "Ruby Blue" style with white text on a dark blue background and the syntax highlighting colors for my Nexus Script XML have been adjusted to nicely fit into that color scheme. If you're using black text on white background per default, you will probably have to change those text colors.
I probably also missed some keywords or operators, but so far it works fine for my typical use case.
-
Many Thanks! It works and is very helpful indeed.