Difference between revisions of "Sublime Text"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
== Useful Hotkeys ==
 
== Useful Hotkeys ==
Search and or Open a file by name in your project.
+
Search and/or Open a file by name in your project.
 
<div>
 
<div>
 
  Ctrl + P
 
  Ctrl + P
Line 11: Line 11:
 
  Ctrl + Shift + F
 
  Ctrl + Shift + F
 
</div>
 
</div>
 +
 
== Useful Plugins ==
 
== Useful Plugins ==
  
 
[https://packagecontrol.io/installation Sublime Package Control] - Allows you to install plugins easily. After it's installed use Ctrl-Shift-P then type install and hit enter.
 
[https://packagecontrol.io/installation Sublime Package Control] - Allows you to install plugins easily. After it's installed use Ctrl-Shift-P then type install and hit enter.
  
* All Autocomplete - Uses all open files for autocompletion
+
* All Autocomplete - Uses all open files for auto-completion.
 
* Sublime Linter - Shows syntax errors on specific lines inside the editor. NOTE: You need to point the config to a Lua 5.2 compiler executable (luac.exe) - INSTRUCTIONS NEEDED
 
* Sublime Linter - Shows syntax errors on specific lines inside the editor. NOTE: You need to point the config to a Lua 5.2 compiler executable (luac.exe) - INSTRUCTIONS NEEDED
 +
 +
== Tips and Tricks ==
 +
To quickly save a new file(Ctrl + n) by name, first type the name of the file ('''Including''' extension) into the body of the new file then save(Ctrl + s).
 +
 +
[[Category:Resources]]

Latest revision as of 00:43, 6 November 2016

You are not required to use Sublime Text for editing Lua, we just suggest it. You can get it here http://www.sublimetext.com/

Useful Hotkeys

Search and/or Open a file by name in your project.

Ctrl + P

Search the contents of all files in the project.

Ctrl + Shift + F

Useful Plugins

Sublime Package Control - Allows you to install plugins easily. After it's installed use Ctrl-Shift-P then type install and hit enter.

  • All Autocomplete - Uses all open files for auto-completion.
  • Sublime Linter - Shows syntax errors on specific lines inside the editor. NOTE: You need to point the config to a Lua 5.2 compiler executable (luac.exe) - INSTRUCTIONS NEEDED

Tips and Tricks

To quickly save a new file(Ctrl + n) by name, first type the name of the file (Including extension) into the body of the new file then save(Ctrl + s).