Sublime Text

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

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).