VS Code Tips: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 2:
=Introduction=
Visual Studio Code (commonly referred to as VS Code) is a free source code editor developed by Microsoft. It can be downloaded [https://code.visualstudio.com/Download here]. It supports a variety of file types and can be used to work with TUFLOW control files.
Thousands of free plugins exist for VS Code and some of them are useful when working with TUFLOW models.<br>
<br>
=TUFLOW VS Code Plugin=
The TUFLOW plugin provides syntax highlighting support. <b>Thanks to Daniel Copelin for creating the TUFLOW plugin.</b> One feature of VS Code is that it includes an explorer window from a root folder, so it is easy to navigate the files within a project.<br>
==Install TUFLOW Plugin==
The TUFLOW plugin can be installed like any other VS Code plugins. In the VS Code application:
<ol>
<li>Select 'Extensions' from the toolbar on the right-hand side.
<li>Search for 'TUFLOW'.
<li>Select install.
<br><br>
{{Video|name=Animation_install_TUFLOW.mp4|width=900}}<br>
<br>
</ol>
==File Navigation==
In VS Code, it is possible to create and edit TUFLOW models and their control files. <br>
To open a TUFLOW model:
<ol>
<li>Select File > Open Folder and navigate to the model folder. This will open the model folder into the 'Explorer' panel.
<li>Now, from the Explorer panel, it is possible to navigate through the model folders and edit control files.
<li>Using the '[https://wiki.tuflow.com/w/index.php?title=VS_Code_Tips&action=submit#Open_File Open File]' plugin, it is possible to easily navigate between files.
<br><br>
{{Video|name=Animation_file_navigation.mp4|width=900}}
<br>
</ol>
==Running TUFLOW==
<ol>
<li>
</ol>
=Other Useful Plugins=
In addition to the TUFLOW plugin, some useful plugins for working with TUFLOW include: <br>
| |||