Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tmf:notepad [2016/03/19 15:53] snippers created |
tmf:notepad [2016/03/19 16:08] (current) snippers |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Setting up notepad++ ===== | ||
+ | |||
Notepad++ is a text editor that will syntax highlight scripts for you. This makes it far easier to read the scripts and see errors. You can download notepad++ here - https://notepad-plus-plus.org/ | Notepad++ is a text editor that will syntax highlight scripts for you. This makes it far easier to read the scripts and see errors. You can download notepad++ here - https://notepad-plus-plus.org/ | ||
+ | |||
+ | {{:tmf:notepad_syntax.jpg}} | ||
==== Setting up syntax highlighting ==== | ==== Setting up syntax highlighting ==== | ||
The lazy way to get syntax highlighting working is simply use the C++ highlighting. Once you have notepad++ running in the top bar go to "Settings" -> "Style Configurator". You see the following page: | The lazy way to get syntax highlighting working is simply use the C++ highlighting. Once you have notepad++ running in the top bar go to "Settings" -> "Style Configurator". You see the following page: | ||
+ | |||
{{:tmf:notepad_.jpg}} | {{:tmf:notepad_.jpg}} | ||
+ | |||
Select C++ under language and in User ext add "ext sqm sqf". This ensures all *.sqf, *.ext and *.sqm files do syntax highlighting. | Select C++ under language and in User ext add "ext sqm sqf". This ensures all *.sqf, *.ext and *.sqm files do syntax highlighting. |