ide round trip support

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

ide round trip support

Post by blueznl »

the following is perhaps not even that difficult, but it might make life easier...

the new editor that is under development by the purebasic team might be the right place to implement such a thing

what i'm thinking about is this:

1. the editor monitors any changes in the source file on the disk, and asks to reload if it changed (think about netscape, dreamweaver etc.)

2. it should be possible to send a message from another application to the ide and vice verse (mainly to pass a line number / selection)

3. now, an external application could be used (launched via a hotkey or so?) to process the source code, for example a dialog designer or something similar

i guess it's already possible with japbe, but i dunno how to pass line numbers / selections etc.

the interesting solution would be a combination of rad vs. classic coding, ie. when in 'rad' mode code is designed by drawing buttons, forms, etc. and when in 'classic' mode you're actually changing the code itself

this may involve 'protecting' sections of the code, ie. blocking them from changes, so the rad component would only be able to change it's own generated code

dunno if the above makes sense, it's still early :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
FloHimself
Enthusiast
Enthusiast
Posts: 229
Joined: Wed May 14, 2003 3:38 pm
Location: Lüneburg - Germany

Post by FloHimself »

1. the editor monitors any changes in the source file on the disk, and asks to reload if it changed (think about netscape, dreamweaver etc.)
At least give a us "reload file" in menu.
My favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

FloHimself wrote:
1. the editor monitors any changes in the source file on the disk, and asks to reload if it changed (think about netscape, dreamweaver etc.)
At least give a us "reload file" in menu.
Or even easier: Just disable the check for if the file is already opened before opening files from the recent files menu.

By the way, have you looked in the add tools window and seen the "help" button beside the parameters string field?
Post Reply