PropIDE - suggestions / wishlist
Would it be possible to have the ability to:
a) Start-up with tabs that were open at last shutdown;
b) Have new tabs (Ctrl+N) open with 'standard' code already entered
c) Remember my setting for Ctrl+I
d) Enable third-party plug-ins, so we can hook our own utilities into the IDE (say, so we can hook into the code being typed, and maybe allow us to add our own 'command macros'). If you need an example, take a look at the excellent Proton+ IDE (in the Proton+ Development Suite) at http://www.picbasic.org/proton_lite.php#download
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
a) Start-up with tabs that were open at last shutdown;
b) Have new tabs (Ctrl+N) open with 'standard' code already entered
e.g. I always have a banner and standard CON settings (like _clkmode·= xtal1 + pll16x). It'd be nice if I could put that in a configuration file that gets copied into my new tabs...
c) Remember my setting for Ctrl+I
d) Enable third-party plug-ins, so we can hook our own utilities into the IDE (say, so we can hook into the code being typed, and maybe allow us to add our own 'command macros'). If you need an example, take a look at the excellent Proton+ IDE (in the Proton+ Development Suite) at http://www.picbasic.org/proton_lite.php#download
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
Comments
What happens is I'll be working in a backup directory, researching old spin work, then will go back to my current directory. But new changes are saved to the old backup directory unless I remember to manually change the setting in the "current directory" display window. Then, when I try to run the code, the changes I KNOW I just made can't be found during the compile! it's a real head-scratcher until I think to check that "current directory" visual window and see I'm not working where I thought I was.
The Windows Winzip utility has this same issue - its initial default is to unzip files in the last accessed directory rather than the directory from which the utility was started. But they offer the configuration option to unzip files to the current directory rather than the last-used directory - that's the sort of configuration I'd like to see the Propeller tool offer.
David
I always end up needing the serial terminal so I have to run the Basic Stamp IDE too to get one. Then I have to remember to disconnect the debug tool from the COM port when I want to download a new Spin program. If it were integrated with the Propeller tool, it could be made to automatically disconnect from the COM port to allow a new program to be downloaded, and then reconnected when it's done.
a := F.FAdd(F.FMul(F.FFloat(x), cTheta),F.FAdd(F.FMul(F.FFloat(y),F.FMul(sTheta, sPhi)),F.FMul(zHat,F.FMul(sTheta, cPhi))))
This is simplifed by making all the sin/cosin call not on the line by makeing variables cThets, sPhi, etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://fstop.crosscity.com/
http://icar.crosscity.com/
·
I always catch myself hitting alt-tab to attempt to switch back and forth between 2 different tabs, looking at 1 spin program to use as an example while I'm coding a second program. Of course alt-tab doesn't work in this situation. But some way to switch between 2 open tabs would be helpful.
Thanks,
Brian
try using ALT {arrow keys} within the Propeller IDE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
1) BSTRING - similar to STRING but allows any byte value (including zero). The address returned would point to byte data with the first byte value being the number of bytes, then up to 255 bytes following. This would be very useful for passing variable length byte strings to methods.
2) INCLUDE - allows an external file to be included that contains constant definitions to be added to the CON section.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cam Thompson
Micromega Corporation
On your second point; I think it's possible now:
Example file - top.spin:
Example file -·myIncludeFile.spin:
If I've got my code right (I'm not near my PChip right now) this should display the following on a TV:
123
HTH
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon