Sublime Text3 makes a USB flash drive portable Lua IDE, sublimelua

Source: Internet
Author: User

Sublime Text3 makes a USB flash drive portable Lua IDE, sublimelua

Download Sublime Text

Link http://www.sublimetext.com/3

I downloaded win32 portable, which is easy to carry on a USB flash drive.

Extract

Register: Copy the following parts and paste them into the registration column.

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

Localization:

Chinese package dl.vmall.com/c0linuqugi

Go to the Data \ Installed Packages directory, put the decompressed Default. sublime-package file into it, and restart sublime text3

Download the Lua interpreter:

Http://lua-users.org/wiki/LuaBinaries

Download the 32-bit binaries Interpreter

Create the lua_5_3 folder in the Data \ Packages directory of sublime text3 (the specific name can be customized)

Put the downloaded lua.exe‑luac.exe and luaXX. dll files into the lua_5_3 folder.

Create a lua compiling environment for sublime text3:

Tool-> compile system-> compile 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 must be consistent with the folder name above!

Save the file, file name: lua. sublime-build, save the directory Data \ Packages \ User

Restart sublime text3


Code prompt plug-in:

You can use sublime package control (requires installation) to install the lua love2d plugin.

Experience:

Create a file in sublime text3, select lua as the language in the lower right corner, and select lua as the tool> compilation system

File input:

print("hello lua!")
Save the file. Be sure to save it! Otherwise, compilation fails!

Press ctrl + B to display the result window ~

OK! Success! Package the entire sublime text3 Directory into a USB flash drive so that it can be carried ~~~


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.