Difference between revisions of "NotepadPlusPlus Highlighting"

From Tuflow
Jump to navigation Jump to search
Line 1: Line 1:
  
 
To enable the colour coding (syntax highlighting) in Notepad++:
 
To enable the colour coding (syntax highlighting) in Notepad++:
* Downloaded the Notepad++ Syntax Highlighting File from the <u>[https://www.tuflow.com/downloads/ TUFLOW website]</u>
+
* Download the Notepad++ Syntax Highlighting File from the <u>[https://www.tuflow.com/downloads/ TUFLOW website]</u>
 
* Save the file to a location on your computer
 
* Save the file to a location on your computer
* Select the ''User Defined Dialogue'' (lightning symbol, circled in red below) from the menu toolbars.
+
* Select the Language tab - User Defined Dialogue
 
[[File:NotepadPlusPlus UserDefinedDialogue.png | frame|none]]
 
[[File:NotepadPlusPlus UserDefinedDialogue.png | frame|none]]
* In the dialogue, select '''Import'''
+
* In the dialogue box, select Import
 
* Navigate to and select the Notepad++ syntax highlighting xml file you saved.
 
* Navigate to and select the Notepad++ syntax highlighting xml file you saved.
 
* Close any open TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf).
 
* Close any open TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf).
Line 13: Line 13:
  
  
Note: When updating the syntax highlighting file with a newer version, remember to first remove the existing "TUFLOW" language definition.
+
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 "TUFLOW" for the user language options
 
* Select "Remove"
 
* Select "Remove"

Revision as of 09:29, 2 February 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
NotepadPlusPlus UserDefinedDialogue.png
  • In the dialogue box, select Import
  • 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.


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
Notepad Update.JPG
  • Follow the above listed steps to install the new syntax highlighting file


Back to Notepad ++ tips.