Yeah, I don't have the issue with Visual Studio. I was thinking more about your experience with other text editors.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Disable auto compile
Collapse
X
-
Hi jeronymite
Thanks for the suggestion.
I've just tried Notepad++. It exhibits the same behaviour as the other text editors; two saves are required before NinjaScript editor responds.
I'm not convinced that the issue lies with the editors that I've tried.
Comment
-
FatCanary I think you are right when you say "I'm not convinced that the issue lies with the editors that I've tried". I've just tried this with Notepad++ and a single save reliably causes immediate compilation in the NinjaScript Editor window. Back to NT Support to investigate further for you, I think.
Thanks.
Comment
-
Hello FatCanary and jeronymite,
Thank you both for your input.
While the issue doesn't seem to be editor-specific, this is not supported by NinjaTrader because it relates to the use of third-party editors. Additionally, FatCanary has confirmed that the behavior does not occur when using Visual Studio. In order to achieve a resolution, this may require additional research via an internet search, consulting with the support team for one of the editors, or potentially even consulting with a Windows technician in the case that there is something in the registry that could be causing this behavior. Otherwise, please use the NinjaScript Editor directly to edit and compile your scripts or open Visual Studio via the icon in the NinjaScript Editor toolbar and Ctrl + S to save your edits in Visual Studio/compile in NinjaTrader.
Thank you for your time.
Comment
-
Thanks for sharing your finding jeronymite. That has just reinforced my thinking that there is an issue on my machine.
With that in mind, I have reinstalled NinjaTrader. And that made no difference. Still, worth a try.
Looks like I need to keep digging...
Comment
-
Well, I've uninstalled and reinstalled:
NinjaTrader
Rider
Visual Studio
All that has made no difference to NinjaScript editor picking up on the first save of a file, unless saved in VS.
Every other editor I've tried has picked up on the file change straight away.
At this stage, the only other thing I can think of is reinstalling Windows, and I'm not doing that.
So, it looks like I shall be living with double saves.
The other strange thing is that when I first started using Rider to edit NinjaScript files, I'm fairly sure that the NinjaScript editor picked up on every edit that I made in Rider, without having to manually save. I remember thinking, "how annoying", much like the opening poster.Last edited by FatCanary; 11-19-2022, 09:24 AM.
Comment
-
-
The double save issue appears to be resolved.
Not sure which of the following cured the problem, but...- Completely uninstalled NinjaTrader
- Reinstalled NinjaTrader
- Compiled scripts in NinjaScript editor (debug mode enabled)
- Opened NinjaTrader.Custom.csproj with Rider
Last edited by FatCanary; 01-14-2023, 03:50 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
345 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment