Sublime: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Sublime is a text editor that can be dowloaded [http://http://www.sublimetext.com here]. | Sublime is a text editor that can be dowloaded [http://http://www.sublimetext.com here]. | ||
How to Install Lexi in Sublime. | How to Install Lexi tools in Sublime. | ||
Create a Build System in Sublime for Lexi's Compiler by opening Tools>Build Systems>New Build System: | |||
Save this JSON file as | Save this JSON file as CompileBR.sublime-build within the folder Packages/User/Lexiplugin | ||
{ | { | ||
Line 13: | Line 13: | ||
} | } | ||
Restart Sublime. Select the compiler from Tools>Build Systems>Lexi | Restart Sublime. Select the compiler from Tools>Build Systems>CompileBR | ||
Repeat this for each of the Lexi tools. Simply replace the ConvStoO.cmd above with each and save as .sublime-build files: | |||
*StripLN.cmd (strip line numbers) | |||
*AddLN.cmd (add line numbers) | |||
*RunBR.cmd (run BR program) | |||
[[Category:Basics]] | [[Category:Basics]] |
Revision as of 00:59, 27 May 2014
Sublime is a text editor that can be dowloaded here.
How to Install Lexi tools in Sublime.
Create a Build System in Sublime for Lexi's Compiler by opening Tools>Build Systems>New Build System:
Save this JSON file as CompileBR.sublime-build within the folder Packages/User/Lexiplugin
{ "cmd": ["ConvStoO.cmd", "$file_name", "$file_base_name", "$file", "$file_path"], "selector": ".brs", "working_dir": "C:\\Lexi\\" }
Restart Sublime. Select the compiler from Tools>Build Systems>CompileBR
Repeat this for each of the Lexi tools. Simply replace the ConvStoO.cmd above with each and save as .sublime-build files:
- StripLN.cmd (strip line numbers)
- AddLN.cmd (add line numbers)
- RunBR.cmd (run BR program)