by hgoel0974 » Sun Dec 30, 2012 10:47 pm
Yeah, I will, I was thinking of figuring out how to run the python scripts from within the IDE itself first, I am already at work on the next version which will use Projects and will probably be able to launch scripts directly
-----
I fixed the problem with launching scripts, it works now! Run will directly launch your script.
Also, when you save your project, the pyGame scripts will automatically be copied into the project folder so you don't have to copy them manually.
The download links are the same.
To allow direct launching of scripts, I found out through trial and error that it was because the script was supposed to be in the working directory. I set up a mechanism to switch to the scripts directory when Run is clicked and when the application quits, it returns to it's original working directory.There is a small problem with this, while the script is running, you cannot make changes to the script, this is a safety mechanism to make sure that the program doesn't get 'confused'.
I am still working on a way to prevent the AutoCorrect from showing up as soon as you open a file, but that is just a minor bug but, anyone who doesn't want the AutoCorrect to show up unless they press ctrl+space, just go into settings and disable it.
I didn't put in project support because it is more complicated than I thought.
-----
I found a lot of bugs in the IDE. I also found out how hard it is to work in a scripting language with only a "Save As" function, so I added a Save function and have added more hotkeys:
Ctrl+Shift+S : Save As
Ctrl+O:Open
Ctrl+S:Save
Ctrl+F5:Run
Ctrl+N:New
Ctrl+F:Find/Replace
Ctrl+Z:Undo
Ctrl+Shift+Z:Redo
As before, the download links are the same.
Last edited by
jc_gargma on Thu Jan 03, 2013 12:15 am, edited 1 time in total.
Reason: Merged Triple Post