Yeah, I don't have the issue with Visual Studio. I was thinking more about your experience with other text editors.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.Emily C.NinjaTrader Customer Service
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 Shansen, 08-30-2019, 10:18 PM
|
24 responses
938 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
3 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
Comment