Changes

How to setup an external text editor in Xilinx ISE & EDK

1,310 bytes added, 18:16, 18 July 2011
no edit summary
=== ISE ===
#Open ISE 12.4
#Select <span style="color:#55E439">''Edit'' </span> --> <span style="color:#55E439"> ''Preferences...'' </span> from the Menu#Navigate to <span style="color:#55E439">''ISE General'' </span> --> <span style="color:#55E439"> ''Editors''</span>#Select <span style="color:#55E439">''Custom'' </span> from the <span style="color:#55E439">''Editor:'' </span> drop box#Type in something like <span style="color:#55E439">''C:\\Program\ Files\ (x86)\\Notepad++\\notepad++.exe -n$2 $1''</span>#*Note the escape characters: <span style="color:#55E439">''\'' </span> must be places before all backslashes & spaces#*Note the <span style="color:#55E439">''-n'' </span> command-line switch that tells ''notepad++.exe ''</span> which line to set the cursor to#*Note <span style="color:#55E439">''$2'' </span> which is line number we want to look at#*Note <span style="color:#55E439">''$1'' </span> which is the file we want to open#I suggest you set the <span style="color:#55E439">''Constraints entry'' </span> radio button to <span style="color:#55E439">''Text Editor''</span>
=== EDK ===
==== Add Notepad++ to the PATH ====
#Right click on <span style="color:#55E439">''My Computer'' </span> & select <span style="color:#55E439">''Properties''</span>#Click <span style="color:#55E439">''Advanced system settings'' </span> on the left#Click the <span style="color:#55E439">''Environment Variables...'' </span> button in the lower right#Highlight the <span style="color:#55E439">''Path'' </span> variable in the lower <span style="color:#55E439">''System variables'' </span> box#Click the <span style="color:#55E439">''Edit...'' </span> button#Append something like <span style="color:#55E439">'';C:\Program Files (x86)\Notepad++;'' </span> to the end of the text in the <span style="color:#55E439">''Variable value:'' </span> box#Click <span style="color:#55E439">''OK'' </span> 3 times & close the <span style="color:#55E439">''My Computer: Properties'' </span> window
==== Configure EDK ====
#Open EDK 12.4
#Select <span style="color:#55E439">''Edit'' </span> --> <span style="color:#55E439"> ''Preferences...'' </span> from the Menu#Navigate to <span style="color:#55E439">''Editor''</span>#Select <span style="color:#55E439">''Custom'' </span> from the <span style="color:#55E439">''Editor:'' </span> drop box#Type in something like <span style="color:#55E439">''notepad++.exe -n%line% %file%''</span>#*Note that we don't use the full path to <span style="color:#55E439">''notepad++.exe''</span>. For some reason EDK can't handle the full path and this is why we had to add notepadthe Notepad++.exe's folder to the <span style="color:#55E439">''PATH''</span>#*Note the <span style="color:#55E439">''-n'' </span> command-line switch that tells ''notepad++.exe '' which line to set the cursor to#*Note <span style="color:#55E439">''%line%'' </span> which is line number we want to look at#*Note <span style="color:#55E439">''%file%'' </span> which is the file we want to open#I suggest you check the <span style="color:#55E439">''Automatically sync with external edits'' </span> box at the top [[Category:ISE]][[Category:EDK]]