• Most people probably don't realise this, but this forum has had two editors for a number of years. One is the xenForo default editor, and the other is a custom editor I made years back I called BBCEd.

    All the settings for which editor you use was lost during the upgrade. You can find the setting under Account Settings > Preferences > Editor.

TSC Editor Supporting Comments

Old topic!
The last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.
Jul 24, 2012 at 9:14 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 29
#1
I've always wanted to be able to comment my TSC code. Now you can.

Comments will make your TSC code more readable and ungarble the massive number of flags that you use.
Comments begin with a // and continue to the end of the line.

Download TSC Editor with Comments
Download TSC with Comments Source Code

Credit goes to Noxid for making the original Java TSC editor. He wrote 99% of the code, so he deserves 99% of the credit. (seriously, I wrote about 5 lines to make this work.)
 
Jul 24, 2012 at 9:47 AM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: South Florida
Posts: 1367
Age: 23
#2
Well,
I've been able to comment on my TSC code by just typing stuff in normally. The game still works fine, too. Unless I am only able to do that on Cave Editor...
 
Jul 24, 2012 at 10:47 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 29
#3
Tpcool said:
Well,
I've been able to comment on my TSC code by just typing stuff in normally. The game still works fine, too. Unless I am only able to do that on Cave Editor...
Normally, you can only put comments after <END and stuff. This editor lets you put comments anywhere.
 
Jul 24, 2012 at 4:02 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#4
Nice work. I probably should have implemented this feature in the first place but I totally keep forgetting.. Maybe I'll merge it into the BL TSC editor when I get to fixing some of the bugs that are currently plaguing it.

If that's ok with you, of course
 
Jul 24, 2012 at 6:37 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 29
#5
Nice work. I probably should have implemented this feature in the first place but I totally keep forgetting.. Maybe I'll merge it into the BL TSC editor when I get to fixing some of the bugs that are currently plaguing it.

If that's ok with you, of course
Yeah sure. Go ahead and merge it.
 
Top