Difference between revisions of "NotepadPlusPlus Highlighting"

From Tuflow
Jump to navigation Jump to search
Line 6: Line 6:
 
* In the dialogue box, select Import:
 
* In the dialogue box, select Import:
 
<ol>
 
<ol>
[[File: UserDefinedLanguage_Import.png|800px]]
+
[[File: UserDefinedLanguage_Import.png]]
 
</ol>
 
</ol>
 
* Navigate to and select the Notepad++ syntax highlighting xml file you saved.
 
* Navigate to and select the Notepad++ syntax highlighting xml file you saved.
Line 22: Line 22:
 
* Close Notepad++ and reopen it before loading the new file.
 
* Close Notepad++ and reopen it before loading the new file.
 
<ol>
 
<ol>
[[File: UserDefinedLanguage_TUFLOW.png|800px]]
+
[[File: UserDefinedLanguage_TUFLOW.png]]
 
</ol>
 
</ol>
 
* Follow the above listed steps to install the new syntax highlighting file.
 
* Follow the above listed steps to install the new syntax highlighting file.

Revision as of 14:14, 2 March 2023

To enable the colour coding (syntax highlighting) in Notepad++:

  • Download the Notepad++ Syntax Highlighting File from the TUFLOW website.
  • Save the file to a location on your computer.
  • Select the Language tab - User Defined Dialogue.
  • In the dialogue box, select Import:
    UserDefinedLanguage Import.png
  • Navigate to and select the Notepad++ syntax highlighting xml file you saved.
  • Close any open TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf).
  • Restart Notepad++.
  • Open a TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf). The syntax colouring should now be associated with TUFLOW files.
    Syntax comparison 6.png


Note: When updating the syntax highlighting file with a newer version, first remove the existing "TUFLOW" language definition.

  • Select "TUFLOW" for the user language options.
  • Select "Remove".
  • Close Notepad++ and reopen it before loading the new file.
    UserDefinedLanguage TUFLOW.png
  • Follow the above listed steps to install the new syntax highlighting file.


Back to Notepad ++ tips.