Difference between revisions of "NotepadPlusPlus Tips"

From Tuflow
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
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 [[https://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 a geometry control file (.tgc) can be opened directly from the TUFLOW control file (.tcf) without having to locate it in a 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]].
 
 
 
'''Thanks to Edenvale Young putting together the syntax highlighting file.'''
 
 
 
 
=Basics=
 
=Basics=
 +
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>
 
* [[NotepadPlusPlus_Highlighting | Syntax Highlighting]]
 
* [[NotepadPlusPlus_Highlighting | Syntax Highlighting]]
 
* [[NotepadPlusPlus_Run_TUFLOW | Running TUFLOW]]
 
* [[NotepadPlusPlus_Run_TUFLOW | Running TUFLOW]]
Line 16: Line 12:
 
=Useful Plugins=
 
=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.
 
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.
* [http://sourceforge.net/projects/npp-compare/ npp-compare (compare files side-by-side)]
+
* [https://sourceforge.net/projects/npp-compare/ npp-compare (compare files side-by-side)]
 
* ''Runme'': Available through the Notepad++ Plugin Manager. This will allow you to run batch files directly from Notepad++.
 
* ''Runme'': Available through the Notepad++ Plugin Manager. This will allow you to run batch files directly from Notepad++.
 +
<br>
 +
{{Tips Navigation
 +
|uplink=[[Main_Page| Back to Main Page]]
 +
}}

Latest revision as of 10:02, 18 July 2024

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 a geometry control file (.tgc) can be opened directly from the TUFLOW control file (.tcf) without having to locate it in a explorer style menu.

Basics

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

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.


Up
Go-up.png Back to Main Page