Disabling autocompile in NT editor

Hi

I am a programmer, and I prefer to use an external editor. Whenever I save a file, it immediately triggers the compilation. This is causing NT8 (version 8.1.6.3, tried 8.1.7.x, which was even worse), and sometimes causes the custom assembly to be removed all the templates gone. I have to restore everything from backup.

Is there some advanced setting to disable the “autocompile”, I want to manually compile after all the editing is done using the external editor.

Thanks

Bobby

Found a workaround for this issue

The following seems to work.

  • Mystrategy.cs => Your strategy file in NT8

  • Create a “hard-link” of this to another file:
    Steps:
    Start run => command => right-click => Run as administrator"

    In command prompt
    cd <Path to NinjaTrader 8\bin\Custom\Strategies>
    mv Mystrategy.cs Mystrategy.cc
    mklink /H Mystrategy.cs Mystrategy.cc

  • This creates a hardlink between Mystrategy.cc & Mystrategy.cs. The contents will be the same.

  • In your editor, edit only Mystrategy.cc, when saving this file, the autocompile is NOT triggered

  • NT8 editor monitors only the Mystrategy.cs file

  • Use the NT-editor “compile” icon when you need to compile

Note: if you are using partial class and have multiple strategy files, do the above each source file