Code Folds in Ren'Py? [Resolved]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Interitum
Newbie
Posts: 17
Joined: Sun Mar 17, 2013 10:32 pm
Projects: Amor et Vitia
Organization: Interitum Studios
Contact:

Code Folds in Ren'Py? [Resolved]

#1 Post by Interitum » Thu Mar 21, 2013 7:49 pm

Is there anything I could use to fold the coding to make it easier to read at all?
Eg: C# equivalent of #region
Or Java's <editor-fold>

I see that Editra has the functionality for that, but I'm not sure how to invoke it.
Last edited by Interitum on Thu Mar 21, 2013 8:49 pm, edited 1 time in total.
"A wise man once told me, 'Procrastination is like...'"

"I know I am a scout,
And I should have found a way out,
So everyone can find a way out."

I will eat ALL your unhappiness!

User avatar
PyTom
Ren'Py Creator
Posts: 15444
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Code Folds in Ren'Py?

#2 Post by PyTom » Thu Mar 21, 2013 8:29 pm

I haven't added code folding to the Ren'Py editra plugin, yet.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Interitum
Newbie
Posts: 17
Joined: Sun Mar 17, 2013 10:32 pm
Projects: Amor et Vitia
Organization: Interitum Studios
Contact:

Re: Code Folds in Ren'Py?

#3 Post by Interitum » Thu Mar 21, 2013 8:34 pm

Gotcha, no big deal. It was just something I noticed.
Thanks for letting me know, though.
"A wise man once told me, 'Procrastination is like...'"

"I know I am a scout,
And I should have found a way out,
So everyone can find a way out."

I will eat ALL your unhappiness!

User avatar
Bombermans
Newbie
Posts: 11
Joined: Sun Apr 01, 2007 8:27 am
Location: Spain
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#4 Post by Bombermans » Mon Mar 03, 2014 5:50 pm

Will this be added in the foreseeable future? It's been a year of this topic... I know that the codefolds are not really a big deal, but... you know... you miss them when you have gotten accustomed to them on Scite >_<

wiimote
Regular
Posts: 38
Joined: Fri Dec 09, 2011 12:13 pm

Re: Code Folds in Ren'Py? [Resolved]

#5 Post by wiimote » Thu Aug 25, 2016 5:40 pm

Gotta bump this.
Three years have passed and still no code folding. What is going on here? There is practically no point in using Editra without it. Is it really that hard to implement?

EDIT: I just read in the Editra forums that the software is officially dead and is not being developed anymore. Will this have any consequences for Ren'Py?

User avatar
SuperbowserX
Veteran
Posts: 264
Joined: Sat Jan 07, 2017 3:09 pm
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#6 Post by SuperbowserX » Sun Jan 29, 2017 10:23 pm

Gotta bump this. Can anyone figure out how to get code folding into Editra... or should we all start using jedit?

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#7 Post by xela » Mon Jan 30, 2017 6:15 am

SuperbowserX wrote:or should we all start using jedit?
Why not? I'd pick jedit over editra thing in a heartbeat.
Like what we're doing? Support us at:
Image

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#8 Post by Divona » Mon Jan 30, 2017 6:53 am

I prefer Atom. :lol:
Completed:
Image

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 2768
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#9 Post by Imperf3kt » Mon Jan 30, 2017 7:16 am

I've got no qualms with Editra, it works as necessary.

That said, you can always customise Notepad++
There was a guide on here somewhere.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Twitter

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#10 Post by xela » Tue Jan 31, 2017 5:46 am

Divona wrote:I prefer Atom. :lol:
I have been trying out Atom for a couple of weeks. There are a couple of things it cannot do what I got used to in JEdit and Ren'Py setup for JEdit is a bit better than the one for Atom + JEdit already integrated into the launcher. But it is a very good option as well.
Like what we're doing? Support us at:
Image

User avatar
SuperbowserX
Veteran
Posts: 264
Joined: Sat Jan 07, 2017 3:09 pm
Contact:

Re: Code Folds in Ren'Py? [Resolved]

#11 Post by SuperbowserX » Tue Jan 31, 2017 5:48 am

I just started using Atom today. Slight learning curve but it's a lot sleeker than Editra (which in turn was a lot sleeker than Jedit and Notepad++). Plus, code folding is nice.

Post Reply

Who is online

Users browsing this forum: Google [Bot]