ChoiceScript Wiki
Register
m (Protected "Notepad++ Syntax Highlighter" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
No edit summary
Line 2: Line 2:
 
Basic Choice Example.png|Syntax Highlighting Example
 
Basic Choice Example.png|Syntax Highlighting Example
 
</gallery>
 
</gallery>
Notepad++ uses a system called ''Syntax Highlighting'' which helps in coding by visually identifying different parts of code. Notepad++ comes pre-installed with syntax highlighters for a number of different coding languages, but ChoiceScript is not one of them. However, one has been created and can be [http://www.mediafire.com/view/?nc6m2ux1jz97w1p downloaded].
+
Notepad++ (which the recommended by the [[A Basic Tutorial#Text Editors|basic tutorial]]) uses a system called ''Syntax Highlighting'' which helps in coding by visually identifying different parts of code with color. This allows you to more easily read the code, helping both in drawing it up and spotting errors. It is also relatively easy to modify the syntax, changing what is highlighted and how the highlighting works.
  +
  +
Notepad++ does not come with the ChoiceScript Syntax Highlighter pre installed. However, one has been created and can be [http://www.mediafire.com/view/?nc6m2ux1jz97w1p downloaded] and installed easily.
   
 
==='''Installing'''===
 
==='''Installing'''===
# Find the list of languages. On Windows 7 this can be found under ''C:\Users\[user]\AppData\Roaming\Notepad++'' or can be found by typing "%APPDATA%\Notepad++" into the search bar.
+
# Find folder you need to install to. On Windows 7 this can be found under ''C:\Users\[user]\AppData\Roaming\Notepad++'' or can be found by typing "%APPDATA%\Notepad++" into the search bar.
 
# Download the file above and place it into the folder found by the above search, overwriting the previous file if necessary.
 
# Download the file above and place it into the folder found by the above search, overwriting the previous file if necessary.
 
# Close Notepad++ if it is open.
 
# Close Notepad++ if it is open.

Revision as of 17:06, 3 October 2012

Notepad++ (which the recommended by the basic tutorial) uses a system called Syntax Highlighting which helps in coding by visually identifying different parts of code with color. This allows you to more easily read the code, helping both in drawing it up and spotting errors. It is also relatively easy to modify the syntax, changing what is highlighted and how the highlighting works.

Notepad++ does not come with the ChoiceScript Syntax Highlighter pre installed. However, one has been created and can be downloaded and installed easily.

Installing

  1. Find folder you need to install to. On Windows 7 this can be found under C:\Users\[user]\AppData\Roaming\Notepad++ or can be found by typing "%APPDATA%\Notepad++" into the search bar.
  2. Download the file above and place it into the folder found by the above search, overwriting the previous file if necessary.
  3. Close Notepad++ if it is open.
  4. Open Notepad++ then open a ChoiceScript scene file, select the language menu and at the bottom you should see ChoiceScript as an option. Select it and your code should automatically be highlighted.

Modifying