ISE
Preferences Dialog Box - Editors Page
Use this dialog box to specify the editors to use when working with ISE® software.
To access this dialog box, select
Edit > Preferences. In the Preferences dialog box, expand the
ISE General category, and click
Editors.
- Text editor
- Editor
Use the drop-down list box to select the default editor to use
in Project Navigator. You can select
ISE Text Editor, which is provided with the ISE software, or select
Custom to use a custom editor. If you are using the Windows operating
system, you can select
CodeWright or
Ultra Edit.
Note CodeWright and Ultra Edit are run in
a standalone window. To use these third party editors, the editor
must be installed on your system and specified in your %PATH% user
variable.
- Command Line Syntax
To specify a custom editor, enter the command line syntax that
is used to run the editor. The custom editor opens in its own standalone
window.
- When Project Navigator calls the specified editor, the following variables
are supplied to the editor:
- $1 is the file name of the file to be opened.
- $2 is the line number within the file (if specified).
Following are sample command line entries:- Wordpad - wordpad.exe $1
- VI on Linux - xterm -e vi $1
- Emacs - emacs $1
- Emacs on PC - runemacs.exe +$2 $1 (opens
at applicable line number)
- The editor you select must be included in your %PATH%, or the
complete path to the editor must be specified on the command line
(for example, C:\windows\wordpad.exe $1).
- If there are spaces in the path to the executable, you must do
one of these to ensure your editor opens:
- Enclose the path in curly braces ({ and }). For example:
{C:\Program Files\Windows
NT\Accessories\wordpad.exe} $1
- Enclose the path in double quotes (" and ") and escape the backslashes. For example:
"C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe"
$1
- Enclose the path in double quotes (" and ") and use forward slashes (/) instead of backslashes (\).
For example:
"C:/Program Files/Windows NT/Accessories/wordpad.exe"
$1
Note For more information, including command line syntax for
other editors, see
Answer Record 13713.
- Constraints Entry
Select the editor for viewing and entering constraints in a User Constraints File (UCF).
When you double-click a UCF file in the Hierarchy pane of the
Design panel, the UCF opens in
the editor specified. You can select any of the following:
© Copyright 1995–2009, Xilinx®
Inc. All rights reserved.