Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE- Feature Request — Parallax Forums

SimpleIDE- Feature Request

tdlivingstdlivings Posts: 437
edited 2013-05-11 14:34 in Propeller 1
Is there any thought to having the External Editor concept like the Ardunio software uses
applied to SimpleIDE as a option.
The Ardunio does not actually allow an external editor to be the edit buffer for the Ardunio
software it just disables editing using the built in editor and compiles the file on disk for what
you have loaded in the Ardunio software. You have to remember to save in your external
editor or Ardunio software will just compile what is on disk for the last time you saved and you
will think all is going well when it is not.

If SimpleIDE always builds friom the files on disk this option could be included in SimpleIDE
and would allow for more powerfull editors to be used with the price of having to switch back and
forth and remember to save.

Tom

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-05-10 13:31
    Sounds horrible. Why not just use whatever editor you have and the command line tools to build the program and load the Prop? Sounds about as easy to me, or am I missing something.
  • jazzedjazzed Posts: 11,803
    edited 2013-05-10 14:36
    Since SimpleIDE is project based (not something Parallax customers are used to having), you can just close all source windows and edit files outside of SimpleIDE. Then you can compile/load with SimpleIDE.

    If that doesn't work for some reason please let me know.
  • tdlivingstdlivings Posts: 437
    edited 2013-05-10 15:31
    @Heater
    Not all that horrible, just ALT-TAB to switch between windows .
    I prefer to have the project manager inside the IDE to handle the building of the project.
    I like selecting compiler and linker options from dialog boxes which do in the background
    by the IDE become a command line that gets run.
    With C or C++ with all the memory models and boards and various options I am using the IDE
    instead of trying to create a make file that gets everything in the right order and with the right options.
    Granted once you have one editing it with different file names for different projects is not the end of
    the world.
    To each his own and sometimes only using the command line is what works.

    @jazzed
    Do the source windows need to be closed or just saved. It appears the Ardunio software when the use external editor option is selected
    just opens files in read only mode . It also reloads the file when you hit compile getting the copy off of disk.
    The option prevents have edit buffers from two different editors open at once and making a mess out of things.
    Tom
  • jazzedjazzed Posts: 11,803
    edited 2013-05-10 15:52
    tdlivings wrote: »
    Do the source windows need to be closed or just saved.

    Just saved.
  • jac_goudsmitjac_goudsmit Posts: 418
    edited 2013-05-11 11:51
    Jazzed, I'm not running the latest version of SimpleIDE so I don't know if this has been implemented now, but could you add a feature to monitor the files you have open? Whenever the program gets the focus, it should pop up message boxes for any files that are open in SimpleIDE and were changed by other programs (external editors). That way you can keep files open in SimpleIDE as well as external editors (such as Notepad++) and you can switch to SimpleIDE to compile the program.

    This would also be an extremely useful feature if you want to keep an output file from the compiler open (e.g. the assembler listing): whenever you compile the program, SimpleIDE will detect that the output file has changed and will ask if you want to reload it from disk.

    I prefer to use an external editor such as Notepad++ (especially because the search feature in SimpleIDE is... let's call it "weak") but SimpleIDE is awesome to do one-click build-and-loads.

    ===Jac
  • tdlivingstdlivings Posts: 437
    edited 2013-05-11 14:34
    I like the external editor option where it opens a read only version in it's edit
    Window just so you can see it is looking at the right thing.
    It builds from closed fils on disk, so it does not care what is in your editor.
    Much easier to implement than popping up message boxes and you cannot
    Have more than one editor editing at a time

    I should add that the IDE reloads read only versions of the files when you execute
    A build. So you can see that your changes are there and you did do a save in your editor before
    Switching to the IDE to build

    Tom
Sign In or Register to comment.