외부 편집기 - 특정 코드 라인으로 이동
기술노트 83609
아키텍처:
All
컴포넌트:
IDE
업데이트:
2018-02-28 오전 2:37
Introduction
How do I get the external editor to jump to the specific code line of my compilation warning or error?
Solution
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$
Details
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.