Ability to "mass" un/comments in Scite?
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.
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.
Ability to "mass" un/comments in Scite?
So I have made some test code in my rpy file that I want it disabled, is there a quick way to make my whole code under comment mode or do I need to put a # at every line?
I quickfixed my problem with a generic macro software, but it's pretty dirty (it just simulate keypress). Is there a way to do that in Scite or any other text editor?
I quickfixed my problem with a generic macro software, but it's pretty dirty (it just simulate keypress). Is there a way to do that in Scite or any other text editor?
-
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
- Contact:
Re: Ability to "mass" un/comments in Scite?
For Scite, select the whole block of code and Ctrl + Q or select it from Edit-->Block comment or uncomment. To unblock just repeat the procedure.
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.
Re: Ability to "mass" un/comments in Scite?
Isn't there something like selecting all the lines and pressing Ctrl+M ? That's how it works in Crimson Editor... I'm guessing it might be the same in Scite.
Re: Ability to "mass" un/comments in Scite?
Thank you, that's a nice tips to know, but does that mean it is possible to implement Scite so I can add customized character at the beginning of every lines in my selection? For exemple :
Select>ctrl+q>
Code: Select all
bg lecturehall = "lecturehall.jpg"
bg uni = "uni.jpg"
bg meadow = "meadow.jpg"
bg club = "club.jpg"
Code: Select all
image bg lecturehall = "lecturehall.jpg"
image bg uni = "uni.jpg"
image bg meadow = "meadow.jpg"
image bg club = "club.jpg"
-
- Regular
- Posts: 128
- Joined: Sat Feb 26, 2005 3:02 pm
- Completed: Quine, The Secret Ingredient
- Projects: Metropolitan Blues, Mirai Imouto, Temple Glen, Fuyu no Tabi, MIA
- Organization: Team BG
- Location: The Midwest
- Contact:
Re: Ability to "mass" un/comments in Scite?
I don't know if there's another place to do it, but if you go into Options > Open Global Options File, you can change comment.block.renpy to something else. There's no guarantee that it will work though since I haven't tried it myself, and I'd recommend changing it back to ## as soon as you're done. ![Razz :P](./images/smilies/icon_razz.gif)
![Razz :P](./images/smilies/icon_razz.gif)
Verbosity leads to unclear, inarticulate things.
Re: Ability to "mass" un/comments in Scite?
Yay the character substitution work for comment.block.renpy, it would be awesome if there was a safer option to implement that, but I guess this workaround will save me a lot of my time, thank you ![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
- valeatory
- Regular
- Posts: 36
- Joined: Mon Apr 23, 2007 3:01 pm
- Projects: Nightglove Institute, Monstrata Fracture
- Organization: Astralore Games
- Tumblr: valeatory
- itch: astralore
- Location: America
- Contact:
Re: Ability to "mass" un/comments in Scite?
if you want to comment large areas you can also put triple quotes (''') at the beginning and end of your block, and it will all be commented.
Nightglove Institute - Kidnapped students, forced to train to be secret agents and assassins!
Monstrata Fracture - Date cute monsters! But will you risk destabilizing the human plane of existence?
![](/wki/honest_critique.png)
Monstrata Fracture - Date cute monsters! But will you risk destabilizing the human plane of existence?
![](/wki/honest_critique.png)
-
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
- Contact:
Re: Ability to "mass" un/comments in Scite?
I don't think that'll will work for Renpy.3lucky10 wrote:if you want to comment large areas you can also put triple quotes (''') at the beginning and end of your block, and it will all be commented.
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.
Who is online
Users browsing this forum: Bing [Bot]