
Hitachi Embedded Workshop User Manual
107
2.
Check the “Use external editor” check box. 2.
The “External Editor” dialog will be displayed (figure 6.12).
Figure 6.12: External Editor Dialog
3. Enter the path of the executable (without any arguments) into the “Command” field.
4. Enter the arguments required to open a file into the “Arguments to open file” field. Use the $(FULLFILE)
placeholder to represent the path of the file to be opened.
5. Enter the arguments required to open a file at a specific line into the “Arguments to open file at line” field.
Use the $(FULLFILE) placeholder to represent the path of the file to be opened and the $(LINE)
placeholder to represent the line number at which the cursor should be initially positioned.
6. Click “OK” to define the editor.
Note:
When using an external editor be aware of the following issues:
Each time you invoke the external editor, in whichever way, a separate instance of the editor will be launched.
You must save your own files before you perform a build file, build or build all operation.
6.6
Customizing File Save
The Hitachi Embedded Workshop allows you to customize file save on the “Editor” tab of the “Options” dialog
(figure 6.11). To open the tab, select [Tools->Options…] and click the “Editor” tab.
The following sections explain the options related to file save.
Save files before executing any tools
To force the Hitachi Embedded Workshop into saving edited files before executing any build phases (i.e. build,
build all or build file operations) or version control commands, set the “Save files before executing any tools”
check box.
6.6.2
Prompt before saving files
In addition to the above check box, set this to prompt before saving.