Difference between revisions of "NotepadPlusPlus Tips"

From Tuflow
Jump to navigation Jump to search
Line 1: Line 1:
 
=Introduction=
 
=Introduction=
 
Notepad++ (also called Notepad Plus Plus) is a free editor which can be downloaded from [[http://notepad-plus-plus.org/ notepad-plus-plus.org]]. It has some functionality that makes it preferable as a editor for creating TUFLOW control files.  This functionality includes:
 
Notepad++ (also called Notepad Plus Plus) is a free editor which can be downloaded from [[http://notepad-plus-plus.org/ notepad-plus-plus.org]]. It has some functionality that makes it preferable as a editor for creating TUFLOW control files.  This functionality includes:
* Colour coding of TUFLOW files (syntax highlighting)
+
* Colour coding of TUFLOW files (syntax highlighting). '''Thanks to Edenvale Young putting together the syntax highlighting file.'''
 
* Ability to start a TUFLOW simulation using the currently open files as the .tcf input.
 
* Ability to start a TUFLOW simulation using the currently open files as the .tcf input.
 
* Ability to highlight a filename and open the file directly.  For example from a .tcf a a geometry control file (.tgc) can be opened without having to locate it in an explorer style menu.
 
* Ability to highlight a filename and open the file directly.  For example from a .tcf a a geometry control file (.tgc) can be opened without having to locate it in an explorer style menu.
 
In order to setup the syntax highlighting and the shortcuts an .xml file is required.  This can downloaded from the "Other" section of the TUFLOW downloads page [[http://www.tuflow.com/ProductDownload.aspx www.tuflow.com]].
 
<br><br>
 
 
A video tutorial on how to set up these features is presented here: [[https://www.youtube.com/watch?time_continue=407&v=rHEhScXer6E TUFLOW YouTube channel]]<br><br>
 
A video tutorial on how to set up these features is presented here: [[https://www.youtube.com/watch?time_continue=407&v=rHEhScXer6E TUFLOW YouTube channel]]<br><br>
'''Thanks to Edenvale Young putting together the syntax highlighting file.'''
 
 
 
=Basics=
 
=Basics=
 
* [[NotepadPlusPlus_Highlighting | Syntax Highlighting]]
 
* [[NotepadPlusPlus_Highlighting | Syntax Highlighting]]

Revision as of 15:18, 14 February 2019

Introduction

Notepad++ (also called Notepad Plus Plus) is a free editor which can be downloaded from [notepad-plus-plus.org]. It has some functionality that makes it preferable as a editor for creating TUFLOW control files. This functionality includes:

  • Colour coding of TUFLOW files (syntax highlighting). Thanks to Edenvale Young putting together the syntax highlighting file.
  • Ability to start a TUFLOW simulation using the currently open files as the .tcf input.
  • Ability to highlight a filename and open the file directly. For example from a .tcf a a geometry control file (.tgc) can be opened without having to locate it in an explorer style menu.

A video tutorial on how to set up these features is presented here: [TUFLOW YouTube channel]

Basics

Useful Plugins

The following plugins can be useful when using Notepad++ (not just for TUFLOW modelling)! Please feel free to add any suggestions either via the discussion page, or via email to support@tuflow.com.