Is there IntelliSense plugins available for Ninjascripts for use within IDE’s like VSCode, Cursor or Rider?
Currently, I work on an indicator or a strategy which I then save the file of. I have to go over to NinjaTrader, press F5 to compile, see whether or not there is an issue. If there is an issue, I need to go back and copy that issue over to my original IDE or fix it there. Which is pretty convoluted.
It would be very handy if there were to be any way to have references within the IDEs or any plugins that allow for compilation within the IDE, such that we don’t have to leave that and we know that whatever we just written has compiled correctly or not.
With Visual Studio Community (free) you get Intellisense. F12 allows you to see code you wouldn’t be able to see in the NT editor. You can debug your code by attaching to the NinjaTrader process. Changes in Visual Studio automatically trigger a rebuild in NinjaTrader as well. You can build the Custom project in Visual Studio with Ctrl+Shift+B to see if you have any errors. I do essentially all of my NinjaTrader development in Visual Studio Community. Sometimes I’ll hit F5 in the NinjaScript Editor to force a recompile in NinjaTrader if needed, but it’s not very often.
Another VS community edition user here. I second everything Steve_NinjaMastery mentioned. I basically never use the built in editor any more. There’s even a button in the built in’s tool bar that will open the project in Visual Studio.