CC Syntax Highlighting/Code Completions v1.2 - Sublime Text 2
#41
Posted 22 February 2013 - 11:43 AM
#42
Posted 05 March 2013 - 04:47 AM
I set the syntax to ComputerCraft
I tried CTRL+space but it didnt want to autocomplete.
my Sublime Text version is 2.0.1
#43
Posted 05 March 2013 - 05:54 AM
A couple of additional things I do in my workflow: I added a simple build script that copies my source files to a CC computer directory for one button deploy. I also have file based logging/debugging and keep the log open in a Sublime tab (usually it's own window).
#44
Posted 08 March 2013 - 03:07 AM
foobar = function()
#45
Posted 08 March 2013 - 03:55 AM
#46
Posted 08 March 2013 - 06:14 AM
#47
Posted 08 March 2013 - 07:22 AM
Jan, on 05 March 2013 - 04:47 AM, said:
I set the syntax to ComputerCraft
I tried CTRL+space but it didnt want to autocomplete.
my Sublime Text version is 2.0.1
Does anyone have a link to the old version?
#48
Posted 08 March 2013 - 08:11 PM
some functions only highlight when a ( is present after the name. this causes problems when doing this
print"Hello World!"
#49
Posted 09 March 2013 - 01:16 AM
#50
Posted 09 March 2013 - 12:29 PM
#52
Posted 09 March 2013 - 10:36 PM
ChrisJay, on 09 March 2013 - 12:29 PM, said:
#53
Posted 10 March 2013 - 03:00 AM
TheOriginalBIT, on 09 March 2013 - 09:22 PM, said:
fix colours.gray ... colors.grey ...
at the moment
colours.grey and colors.gray will highlight even though they are invalid.
TheOriginalBIT, on 08 March 2013 - 08:11 PM, said:
some functions only highlight when a ( is present after the name. this causes problems when doing this
print"Hello World!"
MudkipTheEpic, on 08 March 2013 - 03:07 AM, said:
foobar = function()
I'll look deeper into it...
ChrisJay, on 09 March 2013 - 12:29 PM, said:
Uploading now, with a mirror for you tiin
#54
#55
Posted 11 March 2013 - 11:46 AM
#56
Posted 11 March 2013 - 12:00 PM
TheOriginalBIT, on 11 March 2013 - 11:46 AM, said:
Well, they are present in the language file, and they are beeing highlighted. So I just thought it would make sense to also suggest these function in the autocomplete.
Anyway, I created a small list with the CC core functions. It dosn't really support namespaces, but I'm looking into that.
#57
Posted 24 March 2013 - 11:54 AM
#58
Posted 24 March 2013 - 02:54 PM
MudkipTheEpic, on 24 March 2013 - 11:54 AM, said:
ChrisJay, on 11 March 2013 - 12:00 PM, said:
THANK YOU!!
EDIT: Also fixed the bug where functions defined like:
a = function(hello) print(hello) endWouldn't indent properly when using re-indent, or just when typing them
EDIT 2: Version 1.2 released!
#59
Posted 24 March 2013 - 07:34 PM
#60
Posted 24 March 2013 - 07:39 PM
GravityScore, on 24 March 2013 - 02:54 PM, said:
a = function(hello) print(hello) endWouldn't indent properly when using re-indent, or just when typing them
can you fix the bad indenting with
if <some-condition> then <do something> end <next-instruction-is-indented>
EDIT: Really the problem is just, anything that has an end on the same line its declared indents the next line.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












