Regions
by Jaimi McEntire · in Torsion · 07/08/2007 (7:40 am) · 10 replies
Is there a way to manually create regions (like in Vstudio #region)?
If not, this sure would be great - I'm writing constructor plugins, and there's a ton of stuff I'd like to just hide away without manually closing everything.
Something like this:
//#region Constructor Stuff
...
...
..
//#endregion
If not, this sure would be great - I'm writing constructor plugins, and there's a ton of stuff I'd like to just hide away without manually closing everything.
Something like this:
//#region Constructor Stuff
...
...
..
//#endregion
#2
07/17/2007 (8:59 am)
Being a hardcore VS2005 user, and extremely hardcore region user, I will chip in and support the request for a similar feature in Torsion. I pretty much can't live without regions these days as an organisational tool (and yes I have been coding since way back when also).
#3

This work for you guys?
07/17/2007 (2:04 pm)
I was home sick today and decided to give it a quick shot...
This work for you guys?
#4
07/17/2007 (2:12 pm)
Nice!
#5
07/17/2007 (3:56 pm)
Woohoo! That does look great - that will work nicely! Thanks, Tom!
#6
07/19/2007 (3:21 am)
Definitely looks great :)
#7
01/02/2008 (5:34 pm)
Tom - do you have any plans of releasing this version? Still think those regions would be great!
#8
http://www.garagegames.com/mg/forums/result.thread.php?qt=63262
01/02/2008 (5:39 pm)
Regions have been in for quite some time. But you need to search for the most current "beta" here on the boards.http://www.garagegames.com/mg/forums/result.thread.php?qt=63262
#9
The link you posted to is talking about release 1.1.130, from June 11, 2007 (1 month before Tom posted that he had regions coded) - is there another release that has regions that I'm just missing? It's definitely not in 1.1.130.
01/02/2008 (6:14 pm)
@Marc Shaerer:Quote:
Regions have been in for quite some time. But you need to search for the most current "beta" here on the boards.
http://www.garagegames.com/mg/forums/result.thread.php?qt=63262
The link you posted to is talking about release 1.1.130, from June 11, 2007 (1 month before Tom posted that he had regions coded) - is there another release that has regions that I'm just missing? It's definitely not in 1.1.130.
#10
I was quite sure that I had used this feature but in that case I need to think about if it was a torque script ide or one for one of the other languages I use ... dooohh
sorry
01/02/2008 (6:20 pm)
Hmm you seem to be right.I was quite sure that I had used this feature but in that case I need to think about if it was a torque script ide or one for one of the other languages I use ... dooohh
sorry
Associate Tom Spilman
Sickhead Games
If we were to add it then it would have to work like you describe with comments, so that we didn't need to change the TorqueScript parser across all the engines. I'll make note of this for a future release.