简体   繁体   中英

Eric4 Python IDE - autosave and quick script/project start, run

I've got 2 problems with Eric4 IDE.

Can't find an option in preferences to autosave my changed files before running script. It's very annoying that I have to save my file and then run script.

Second problem is running a script. I can't find any button to run a script/project instantly. 'Run Script' button always opens a setting window.

This bothered me a lot too, and I know this is 2 years late but it might help some else who comes here looking for this very solution, like I did. Here are the actual answers, ERIC v4.4:

Press F4 instead of F2.

The first time you have to use F2 to 'Start' the script, so dismiss the settings window. After that you can use F4 'Restart' and it will run with the settings you chose initially.

The Autosave option is well hidden unfortunately:

Settings-->Preferences-->Debugger-->General-->!Scroll down to!-->Start Debugging-->Autosave changed scripts

And you were spot on - these two things do have a huge impact on productivity.

解决这个问题的一种方法是,似乎没有内置的方法是绑定一个键来保存文件(ctrl + s),然后运行脚本(F2),最后点击回车(关闭设置窗口和运行代码)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM