Passing the line argument to the editor?

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
Kia
Eileen-Class Veteran
Posts: 1011
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Passing the line argument to the editor?

#1 Post by Kia » Sat Mar 12, 2022 10:18 am

I remember when I was using Editra as my editor, when I would press ctrl+e or click on an error, it would open the file and go to the relevant line. I'm not sure if that was the case when I switched to vscode.
These days I use VSCodium portable(binaries of VSCode without microsoft telemetry) and I'm wondering if the line data that's passed to the editor gets lost in the communication, since it opens the file but doesn't go to the line anymore.
Does anybody know if it's because I'm using a portable software, because vscode isn't an option in the launcher or something else is the culprit?

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1883
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Passing the line argument to the editor?

#2 Post by Ocelot » Sat Mar 12, 2022 1:16 pm

Launcher integration is done by creating edit.py file with appropriate code:
https://www.renpy.org/doc/html/editor.html

It is possible, that it was not written properly.
< < insert Rick Cook quote here > >

User avatar
Kia
Eileen-Class Veteran
Posts: 1011
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Passing the line argument to the editor?

#3 Post by Kia » Sat Mar 12, 2022 2:52 pm

Thank you, I'll try that and report back ^^

Post Reply

Who is online

Users browsing this forum: Bing [Bot], span4ev