This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Engineer's profile picture

Question about ST2

Started by Engineer, 24 March 2013 - 12:55 AM
Engineer #1
Posted 24 March 2013 - 01:55 AM
Hello,

I am posting this in general because this is a question for the text editor Sublime Text 2, and its not actual code.

I have downloaded ST2 and installed the CC compatibility, but now I want to use the projects. I have no clue how to get a project working, I ve messed around with it for an hour at this point.

Thanks in advance,

Engineer

Edit:

I could also for every startup open like 10 - 15 files at once, but I dont that is neccesary since it has a project option. If someone could explain how the project options work, that would be really be aprecciated.
GravityScore #2
Posted 24 March 2013 - 05:16 AM
Sublime Text 2 isn't much of an IDE that manages projects, but really is useful for just editing files, which is the main thing you want to do in CC.

To get started, just launch Sublime Text, make a new file (under File->New, or Ctrl+N), then set the syntax to ComputerCraft if you have my CC Syntax Highlighting/Code Completion package installed, or to Lua if you don't, by opening the command palette (Tools->Command Palette, or Shift+Ctrl+P), and look for the item called Set Syntax: ComputerCraft, or Set Syntax: Lua. Click on it, and then start programming your CC apps straight away.
theoriginalbit #3
Posted 24 March 2013 - 05:18 AM
If you open up a folder that contains files and/or folders you will get the following 'project view' http://puu.sh/2mxF2
Mads #4
Posted 24 March 2013 - 06:01 AM
Look at the Sublime Text 2 documentation.
Engineer #5
Posted 24 March 2013 - 10:14 AM
Thanks everyone :D/>

Now I love ST2, im going to buy it.