Jump to content




CC Syntax Highlighting/Code Completions v1.2 - Sublime Text 2

utility lua

  • You cannot reply to this topic
133 replies to this topic

#101 grand_mind1

  • Members
  • 207 posts

Posted 06 April 2013 - 01:50 PM

*Facepalms through face and into the back wall* Sorry, if I'm correct that is not the correct URL. I will try the actual one now...

#102 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 06 April 2013 - 01:52 PM

View Postgrand_mind1, on 06 April 2013 - 01:50 PM, said:

*Facepalms though face and into the back wall* Sorry, if I'm correct that is not the correct URL. I will try the actual one now...
Haha. I was just going to ask you if you typed in "https://github.com/GravityScore/ST2-ComputerCraft-Package". :P

#103 grand_mind1

  • Members
  • 207 posts

Posted 06 April 2013 - 01:55 PM

Well, I think I've spread enough derp today. Thanks for the awesome syntax addon gravityscore!

#104 angellus

  • Members
  • 44 posts

Posted 09 April 2013 - 10:49 AM

Holy shit, I love you. I just recently switch to Sublime Text 2.

#105 fun

  • Members
  • 8 posts

Posted 13 April 2013 - 02:50 PM

Epic, thanks for introducing me to sublime text and and putting all this work into it!

BTW: is there a way to get a color on the functions that are being called in the code?

#106 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 13 April 2013 - 05:48 PM

View Postfun, on 13 April 2013 - 02:50 PM, said:

BTW: is there a way to get a color on the functions that are being called in the code?

No, sorry, that's not possible to my knowledge. Glad you like it.

#107 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 14 April 2013 - 10:28 PM

ctrl-shift-p all the way!
Got newest version it's awesome! ;)

#108 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 20 April 2013 - 08:23 AM

Is it me or is there no colours API support?

Nothing big, but I think some people will get annoyed eventually by it. Just a FYI :)

#109 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 20 April 2013 - 08:26 AM

View PostEngineer, on 20 April 2013 - 08:23 AM, said:

Is it me or is there no colours API support?

Nothing big, but I think some people will get annoyed eventually by it. Just a FYI :)/>
Actually there should be cause he read the whole _G table hmm...

#110 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 20 April 2013 - 08:28 AM

Hmm.. its weird, it does highlight but it does not pop up in that selection screen. I can only see color.x

#111 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 20 April 2013 - 08:38 AM

Maybe he didn't want multiple of the same color in the list?

#112 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 20 April 2013 - 09:55 AM

@GravityScore:
Nice work, I can't believe you haven't received a [+1] yet. I find this pretty handy, thx for taking the time to put this together.

#113 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 20 April 2013 - 08:54 PM

View PostEngineer, on 20 April 2013 - 08:23 AM, said:

Is it me or is there no colours API support?

Nothing big, but I think some people will get annoyed eventually by it. Just a FYI :)

Thanks for pointing that out! Can't believe I forgot to add this to the completions list, considering I'm an Auzzie :P Silly Obj-C, teaching me to use the American spelling for everything.

Added to the package on GitHub.

#114 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 20 April 2013 - 09:39 PM

Thanks a lot :D

#115 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 20 April 2013 - 11:30 PM

I also noticed another thing that could be.. well.. annoying I guess.

You have term.setBackgroundcolour but it should be term.setBackgrounColour. Its the same for term.setTextColour.

I love this plugin :D

#116 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 21 April 2013 - 12:51 AM

View PostEngineer, on 20 April 2013 - 11:30 PM, said:

I also noticed another thing that could be.. well.. annoying I guess.

You have term.setBackgroundcolour but it should be term.setBackgrounColour. Its the same for term.setTextColour.

I love this plugin :D

Thanks again. I noticed that too, and thought I fixed it. Forgot about the background color :P

#117 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 23 April 2013 - 12:27 AM

Good news everyone!

My pull request to the Sublime Text Package Control project was accepted, meaning that this is now available in the listings for Package Control in Sublime Text :D :D :D

I'll update the download tutorial in the OP.

#118 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 23 April 2013 - 12:42 AM

View PostGravityScore, on 20 February 2013 - 01:59 AM, said:

Installation
1. Download and install Sublime Text 2's Package Control Plugin
2. Open the command palette (Tools -> Command Palette, or Control+Shift+P)
3. Search for Package Control: List Packages
4. Search for ST2-ComputerCraft-Package in the listings
5. Hit enter
6. Restart Sublime Text!
Not quite...
2. What about Mac? :( :P (⌘+⇧+P)
3. Search for "Package Control: Install Packages" ... list packages lists the already installed ones.
4. There was no ST2- in the front, it was "ComputerCraft Package"

#119 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 04 May 2013 - 11:31 PM

Bug...
repeat
  -- code
until <condition>
each time enter is pressed after until the text is indented.

#120 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 29 July 2013 - 11:10 AM

Tutorial how to get it working for Sublime 3 (On Linux):
  • Open Sublime
  • Click Preferences > Browse packages
  • Copy path to this dir
  • Open Terminal
  • CD into that dir
  • run git clone https://github.com/w...age_control.git "Package Control"
  • CD into Package\ Control
  • run git checkout python3
  • Restart sublime
  • Click Preferences > Package Control > Package Control: Install Package
  • Choose ComputerCraft Package
  • Wait fot it to download and install
  • Done!






3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users