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!
See more
See less

Partner 728x90

Collapse

Any Success Developing with JetBrains / IntelliJ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Any Success Developing with JetBrains / IntelliJ?

    I'm an experienced software engineer, so I'm very comfortable with code-writing. And like most software engineers, I've developed an affinity for my favorite tools; one of mine is IntelliJ IDEA, and its family of similar editors like CLion and ReSharper. I understand that Ninjascript is designed to be written and compiled inside of the NinjaTrader platform, and that it's also possible (with a little effort) to do your NinjaScript development with Visual Studio. However, I was wondering if anyone has any advice or experience - even purely anecdotal - about doing NinjaScript development with a JetBrians IDE. Again, I know this would be 100% non-supported. Just wondering.

    #2
    Hello pbailey19,

    While our support can only suggest using visual studio or the NinjaScript editor you can certainly try other editors. Other editors may or may not trigger compiles with the NinjaScript editor so that would be the main issue you would face. Another factor would be if those editors generate any extra files in the .csproj directory, that could end up causing compile errors if they do.

    If any users have tried the jetbrains editor I am sure they will post their results here.
    JesseNinjaTrader Customer Service

    Comment


      #3
      I understand, Jesse, and I realize that I'm going completely off-standard by tinkering with IntelliJ. I honestly expect it to be a waste of my time. But I also just wanted to check, and see if any other mad scientists out there have cobbled together a solution that's worked for them.

      Comment


        #4
        Will you be writing your IntelliJ code in C#?

        I'm also confused, I looked extensively at the IntelliJ (which
        I know nothing about) Wikipedia page and it never mentions
        the .NET Framework as a target.

        How do you intend to use IntelliJ?

        Isn't IntelliJ designed for Java programmers?

        -=o=-

        I edit all my NinjaScript .cs files using gVim on Windows.

        I only use the NinjaScript editor for compiling.

        Of course, everything is C#, no Java whatsoever.

        Comment


          #5
          Yes, IntelliJ is a Java development IDE. But there are other JetBrains IDE's, similar to IntelliJ, for other languages and platforms. There's CLion for C/C++, PyCharm for Python development, and ReSharper for C#/.NET development. So it's a full-featured C# IDE that is similar to IntelliJ in its look, feel, and behavior.

          I'm wondering if it's possible to use their C# product (ReSharper) to work on NinjaScript development. And again, this would be completely unsupported, mad-scientist duct-tape and wires stuff.

          Comment


            #6
            Ah, ok.

            Well then, IMHO ... the answer is:
            Well, of course, it will 'work', why would it not work?

            Use ReSharper to edit to your heart's content, no one knows
            or cares which editor you use.​ Fire it up, do what ya want,
            and then save the file.

            At the end of the day, you will compile all your NinjaScript
            files with the compiler inside the NinjaScript editor.

            And you will not neglect this step.
            And you will be happy.
            And you will not complain.
            These are not the droids you are looking for.
            But I digress.

            Did you know?
            The NinjaScript compiler actually compiles all .cs files every
            time you compile, and yet it is exceedingly fast, to think you
            will replace this step with ReSharper, or anything else, is pure
            lunacy and a colossal waste of development time.

            Editing != Compiling != Debugging

            In other words, the only tool for compiling NinjaScript code
            is the compiler built into the NinjaScript editor -- that middle
            step is fixed in stone.

            The other two you can do whatever works for you.

            Just my 2˘.

            Last edited by bltdavid; 11-09-2023, 12:49 PM. Reason: red emphasis on compiling

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,406 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by Shai Samuel, 07-02-2022, 02:46 PM
            4 responses
            98 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by DJ888, Yesterday, 10:57 PM
            0 responses
            8 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            160 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Yesterday, 09:29 PM
            0 responses
            9 views
            0 likes
            Last Post Belfortbucks  
            Working...
            X