This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can I configure autosaving?

Tags: None
(comma "," separated)
aseques
Registered Member
Posts
63
Karma
0

Can I configure autosaving?

Thu Jan 26, 2017 4:49 pm
I am using kdevelop to write some python scripts, it's a bit anoying when I hit the Debug / Run and the launched version is the last saved one, is there any way to configure kdevelop to save every time I start the debug / run?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Can I configure autosaving?  Topic is solved

Thu Jan 26, 2017 5:50 pm
Sorry, that's only possible for building right now ... people designing this didn't think about scripting languages.

You can probably do this: create an empty makefile; use the custom makefile manager to import your project; use the "compiled binary" launch type and select /usr/bin/python as the executable and your script path as the arguments; select "Build" under dependencies; and check "Save documents before building" under settings -> projects.

The other option which is equally weird is to create a shellscript which runs your script, but invokes
Code: Select all
qdbus org.kdevelop.kdevelop-$(pidof kdevelop) /kdevelop/MainWindow/actions/file_save_all trigger

first.

But yes, it's quite terrible ;)
You can file a wish on bugs.kde.org if you like.


I'm working on the KDevelop IDE.
aseques
Registered Member
Posts
63
Karma
0

Re: Can I configure autosaving?

Fri Jan 27, 2017 7:48 am
Thanks, I've just filled the wish here, I will have a look into your workarounds


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]