ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

ROBLOXLua

by MemoryPenguin ST3

ROBLOX Lua support for Sublime Text

Details

Installs

  • Total 577
  • Win 522
  • OS X 41
  • Linux 14
Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8
Windows 0 0 0 1 0 0 0 1 2 0 0 3 0 1 1 2 0 1 0 0 0 0 0 0 0 0 4 0 0 0 0 1 1 0 0 1 0 1 0 2 0 0 0 0 1 1
OS X 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

RBXLua for Sublime Text

This plugin adds support for ROBLOX Lua to Sublime Text 3. Currently it supports syntax highlighting, indentation, snippets, and an extremely comprehensive set of completions automatically generated from the API dump.

You will need Sublime Text 3 build 3084 or later to use syntax highlighting, which depends on the new sublime-syntax format. The earliest stable build with this support is build 3103.

Once installed, simply select the language using Ctrl-Shift-P and searching for Set Syntax: ROBLOX Lua, or open a .lua or .rbxs file. The language definition will by automatically applied to .lua and .rbxs file extensions. If it isn't applied to .lua, you may need to disable the default Lua package by adding its name to the ignored_packages array, so it looks like this:

{
    "ignored_packages":
    [
        "Vintage",
        "Lua"
    ]
}

Installation

Package Control

The easiest way to install the plugin is through Package Control.

  1. Open Sublime Text.
  2. Install Package Control if it isn't already installed.
  3. Press Ctrl-Shift-P to open the command palette.
  4. Search for Package Control - Install Package.
  5. Search for ROBLOXLua in the list.
  6. Press enter with the ROBLOXLua entry selected.
  7. ???
  8. Profit

Manual

In case you can't use Package Control, you can install the plugin manually. Note that you will have to manually update each time a new update is released.

  1. Download the repository's source from the latest release.
  2. Open Sublime Text.
  3. Open your packages folder using Preferences>Browse Packages in the menu.
  4. Create a new folder in your packages folder named ROBLOXLua (it must be named ROBLOXLua or autocomplete will not work!)
  5. Extract the contents of the repository download into the folder you made.
  6. Restart Sublime Text 3.
  7. ???
  8. Profit

Images

Images were captured using the Boxy Ocean theme and syntax highlighting.

Demo 1

Demo 2

Demo 3