Download Sublime Text
link http://www.sublimetext.com/3
I downloaded the Win32 version portable easy to put on the USB stick carry
Extract
Registration : You can copy the following sections directly into the registration bar
-----BEGIN LICENSE-----k-20single User licenseea7e-9401293a099ec1 c0b5c7c5 33ebf0cf be82fe3beac2164a 4f8ec954 4E87F1E5 7e4e85d6c5605de6 dab003b4 d60ca4d0 77cb15333c47f579 fb3e8476 eb3aa9a7 68c43cd98c60b563 80FE367D 8CAD14B3 54FB7A9F4123FFC4 d63312ba 141af702 f6bba254b094b9c0 faa4b04c 06cc9afc fd41267182e3aee0 0F0FAAA7 8FA773C9 383A9E18------ END LICENSE------
Chinese:
Chinese packaging Dl.vmall.com/c0linuqugi
Enter data\installed packages directory, put the extracted default.sublime-package file into, restart sublime Text3
Download the LUA interpreter:
Http://lua-users.org/wiki/LuaBinaries
Download 32-bit binaries interpreter
Create a new Lua_5_3 folder in the Data\packages directory of Sublime Text3 (specific names can be customized)
Put the downloaded Lua.exe, Luac.exe, luaXX.dll files into the Lua_5_3 folder
Build the LUA compilation environment for Sublime Text3:
Compilation system, tools---Compile the new system ...
Copy the following content
{"cmd": ["$packages \\lua_5_3\\lua", "$file _name"], "File_regex": "^ (?: Lua:)? [ \ t] (...):( [0-9]*):? ([0-9]*) "," selector ":" Source.lua "}
Note that the lua_5_3 in the directory should be consistent with the folder name above!
Save file, file name Lua.sublime-build, save directory Data\packages\user
Restart Sublime Text3
Code Hint plugin:
LUA love2d plug-ins can be installed via sublime package control (self-installing)
Experience:
Create a new file in sublime Text3, lower right corner choose LUA, Tools--compile system
File, enter:
Print ("Hello lua!")
Save the file, and be sure to save it! Otherwise it can't be compiled!
Press CTRL + B to appear below the results window ~
Ok! Done! Pack Sublime Text3 the entire directory into a USB drive to carry it ~ ~ ~
Sublime TEXT3 Build USB Portable Lua IDE