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
Using Visual Studio Code
Collapse
X
-
I do find the debugger is useful for me sometimes but I've settled into using VS Code for most of the editing, since I'm just more comfortable with it and the themes are better (some are pretty awesome actually) and git is better supported by default. But if I need to debug something I can always fire up VS 2019.
-
I didn't get the debugger to do much of anything useful and honestly find that prints are usually enough. Again, it would be nice if this was a well integrated option, but not a showstopper for me.
Leave a comment:
-
RandyT did you get the Visual Studio Code debugger working? are there any downsides to visual studio code over 2019? I prefer it as an IDE since I have to use it for other languages as well.
Leave a comment:
-
Jesse, thanks for the quick response.
Actually, I was confused by the fact that the editor launcher button doesn't seem to find my VS Code install. But after starting VS Code the conventional way, I find that even Intellisense for C# and Ninjascript works. (perhaps better than it does in the NT Editor).
So I am on my way here. Will see if I can get the debugger working.
Thanks
Leave a comment:
-
Hello RandyT,
Thank you for the post.
While I am unsure if anyone has attempted this with VS Code for debugging specifically, you can certainly use it for a text editor just like any other text editor. As long as the NinjaScript editor is open in the background, it should pick up file changes to compile. You just wouldn't have C# autocompletion or intellesense relevant to the NinjaTrader objects in that use case.
You are able to use the Free community edition of Visual Studio with NinjaTrader as that natively works with the NinjaScript editors "Visual Studio" launcher button. If you have not reviewed Microsofts community edition of visual studio, that is generally what we suggest for users who do not want to license visual studio but still want the standard editor features it supplies. This is a new product Microsoft started releasing since VS 2015.
I look forward to being of further assistance.
Leave a comment:
-
Using Visual Studio Code
Curious if anyone has attempted to get Visual Studio Code working as a development editor for NT. Not finding much on this via search.
Visual Studio Code is free to use and thereby much more accessible to average users. It is a very capable C# development editor. Would appreciate if anyone can shed light on what the potential challenges would be to use it for NT development.
Thanks
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by LawrenHom, Today, 10:45 PM
|
0 responses
3 views
0 likes
|
Last Post
by LawrenHom
Today, 10:45 PM
|
||
Started by love2code2trade, Yesterday, 01:45 PM
|
4 responses
28 views
0 likes
|
Last Post Today, 10:31 PM | ||
Started by funk10101, Today, 09:43 PM
|
0 responses
7 views
0 likes
|
Last Post
by funk10101
Today, 09:43 PM
|
||
Started by pkefal, 04-11-2024, 07:39 AM
|
11 responses
37 views
0 likes
|
Last Post
by jeronymite
Today, 09:37 PM
|
||
Started by bill2023, Yesterday, 08:51 AM
|
8 responses
44 views
0 likes
|
Last Post
by bill2023
Today, 09:27 PM
|
Leave a comment: