Sublime Text as an external editor for IAR EWB

I've been using IAR EWB for ARM for quite some time, despite its unusual IDE features like code completion and jump to definitions, etc. Sometimes they work in the IAR editor, but most of the time they don't. GCC + Eclipse is not an option for me as I am using some pre-compiled libraries that only work with IAR. However, I noticed that it is possible to use an external editor with IAR.

For notepad ++ settings:

In the Embedded Workbench, open this preferences dialog - Tools> Options ...> Editor> External Editor

  • Check "Use external editor"
  • Type: Command Line Editor: C: \ Program Files (x86) \ Notepad ++ \ notepad ++. Exe
  • Arguments: "$ FILE_PATH $" - n $ CUR_LINE $ (These arguments will cause notepad ++ to jump to a specific line of code once when a message in the IAR debug log is clicked)

I want to use Sublime text as an external editor with IAR. However, I was unable to find the arguments I need to set in IAR to immediately translate Sublime to a specific line of code when I clicked the error message in the IAR debug window. Also, I don't want to use a new sublime instance every time I hit the error message in the IAR build log, but reuse the instance that is already open.

Can anyone point me to the relevant information?

+3


source to share


1 answer


Based on this link , "$ FILE_PATH $": $ CUR_LINE $ should work for arguments.



If Sublime starts a new instance, it might be an application setting / preference.

+3


source







All Articles