NotepadPlusPlus Highlighting: Difference between revisions
Content deleted Content added
m Protected "NotepadPlusPlus Highlighting": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
No edit summary |
||
| (26 intermediate revisions by 5 users not shown) | |||
Line 1:
=Install Syntax Highlighting=
<ol>▼
To enable the colour coding (syntax highlighting) in Notepad++:
▲<ol>
<li>Download the Notepad++ Syntax Highlighting File from the <u>[https://downloads.tuflow.com/Utilities/Syntax_Highlighting/NPP_TUFLOW_Syntax_Highlighting.zip TUFLOW website]</u>.
<li>Save the file to a location on your computer.
<li>Import the syntax highlighting by selecting Language > User Defined Language > Define your language...
<li>In the dialogue box, select
<br>
<li>Restart Notepd++.</li>▼
[[File:dialogue_box_1.png]]<br>
<br>
<li>Navigate to the Notepad++ syntax highlighting xml file and select it. Click 'Open'.
<li>Close any open TUFLOW control files (.tcf, .tgc, .tbc, .ecf).
<li>Open any TUFLOW control file (.tcf, .tgc, .tbc, .ecf). The syntax colouring should now be associated with TUFLOW files.<br>
<br>
[[File:Syntax comparison 6.png]]<br>
<br>
</ol>
=Update Syntax Highlighting=
When updating the syntax highlighting file with a newer version, first remove the existing "TUFLOW" language definition:
<ol>
<li>Remove the "TUFLOW" language definition by selecting Language > User Defined Language > Define your language...
<li>Select "TUFLOW" as the User Language and select "Remove".
<li>Restart Notepad++ before loading the new syntax highlighting file.<br>
<br>
[[File: UserDefinedLanguage_TUFLOW.png]]<br>
<br>
<li>Follow the above listed steps to install the new syntax highlighting file.
</ol>
[[NotepadPlusPlus_Tips | Back to Notepad ++ tips.]]
| |||