NotepadPlusPlus Highlighting: Difference between revisions

From Tuflow
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 13: Line 13:
* Open a TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf). The syntax colouring should now be associated with TUFLOW files.
* Open a TUFLOW control files (.tcf, .tgc, .tbc, .tmf, .ecf). The syntax colouring should now be associated with TUFLOW files.
<ol>
<ol>
[[File: Syntax_Highlighting_Comparison.png|900px]]
[[File:Syntax comparison 6.png]]
</ol>
</ol>



Revision as of 13:40, 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:
  • 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.
  • Follow the above listed steps to install the new syntax highlighting file.


Back to Notepad ++ tips.