External editor - jump to specific code line

Technical Note 83609



9/11/2015 12:27 PM


How do I get the external editor to jump to the specific code line of my compilation warning or error?


Give the correct command line arguments for the external editor you are using.

Example using Notepad++

In the Build Messages window you have:

Error[Pe020]: identifier "P_1OUT" is undefined C:\Users\PerDA\Documents\IAR Embedded Workbench\430\FET_examples\FET_examples\msp430x1xx\C-source\msp430x1xx_fet_1.c 31

In IAR Embedded Workbench, open the settings dialog: Tools > Options... > Editor > External Editor

  • Tick 'Use External Editor'
  • Type: Command Line
  • Editor: C:\Program Files (x86)\Notepad++\notepad++.exe
  • Arguments: "$FILE_PATH$" -n$CUR_LINE$


For other editors you have to look in the documentation of that editor to see what the specific arguments for your editor should be.

All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2021 - All rights reserved.

We use cookies on this website to provide you with a better experience. You need to accept cookies to continue using this site. Cookies