Some more IDE things...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Some more IDE things...

Post by Michael Vogel »

Just a couple of things I regognized (not really bugs, but maybe ideas for the future):

* loading files slows down extremly when folding is enabled
* menus entries with sub menus (Error Log, External Help,...) are not justified correctly
* dialog buttons do no have shortcuts (e.g "alt-a" for "replace all" in the find&replace dialog)
* source file names with "&" are displayed incorrect in the tab (DT_NOPREFIX is not used) and recent files menu
* variable and procedure lists could be alphabetic to be more usable
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Some more IDE things...

Post by PB »

> variable and procedure lists could be alphabetic to be more usable

Variables already are alphabetic. Procedure lists can be made alphabetic in
the prefs (ToolsPanel section -> Procedure Browser -> Sort procedures by name).
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Some more IDE things...

Post by Michael Vogel »

PB wrote:> variable and procedure lists could be alphabetic to be more usable

Variables already are alphabetic. Procedure lists can be made alphabetic in
the prefs (ToolsPanel section -> Procedure Browser -> Sort procedures by name).
Thanks, didn't see that!

What I investigated now, is that the time consuming loading of files when folding is enabled (x_lib.pb takes about 2 minutes!) will take horrible long, if you add some addition folding keywords (I added If/Endif, While/Wend, Repeat/Until and the combination "; Define" / "; EndDefine" for being able to fold the initial (global) variable definitions)

Something else, markers (F2) are not seen, if a folding box is present on that line.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Some more IDE things...

Post by PB »

> markers (F2) are not seen, if a folding box is present on that line

Hehe, I noticed this today too... I was hitting CTRL+F2 over and over, trying
to get a marker set there. I ended up putting the marker on the line above.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Some more IDE things...

Post by gnozal »

Michael Vogel wrote:What I investigated now, is that the time consuming loading of files when folding is enabled (x_lib.pb takes about 2 minutes!) will take horrible long, if you add some addition folding keywords (I added If/Endif, While/Wend, Repeat/Until and the combination "; Define" / "; EndDefine" for being able to fold the initial (global) variable definitions)
I have just tested that (only with the basic folding options) : the PB IDE freezes a long time on this one (but sometimes it is faster and sometimes it is slower ?!).
For your information x_lib.pb (219320 bytes) loads in about 3 secondes on the same machine (an old PII-300MHz / WinNT4) with jaPBe V3 (with the new folding options, and there is much more folding than the basic PB IDE settings).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

ah so this is what's screwing up codecaddys' reformat function! could this be fixed please?
( 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... )
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

blueznl wrote:ah so this is what's screwing up codecaddys' reformat function! could this be fixed please?

Sure, use this

Code: Select all

FormatHarddiksNow(#Raptor, #PB_Burn)
:twisted:
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

not my raptor! not AGAIN my raptor! :-)
Last edited by blueznl on Mon Feb 27, 2006 7:47 pm, edited 1 time in total.
( 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... )
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Some more IDE things...

Post by Michael Vogel »

Michael Vogel wrote:Just a couple of things I regognized (not really bugs, but maybe ideas for the future):

* loading files slows down extremly when folding is enabled
* menus entries with sub menus (Error Log, External Help,...) are not justified correctly
* dialog buttons do no have shortcuts (e.g "alt-a" for "replace all" in the find&replace dialog)
* source file names with "&" are displayed incorrect in the tab (DT_NOPREFIX is not used) and recent files menu
* variable and procedure lists could be alphabetic to be more usable
Beside the speed issues when using folding, are the other points also seen in your environments?

Additional informations to the menu alignment:
- the popup menu (when pressing the right key in the IDE) shows one entry (External Help) some ticks more left than all others.
- this effect is also seen on all other menu entries with sub menus
- this effetc is also seen on all self configured Tools

Additional information about folding
- nested folds (procedure ... if ... endif ... endprocedure) would need two different open fold commands: "open this fold only" and "open this fold and all below"
- the line marker (arrow) can't be seen under a fold marker, maybe a colored box (instead or around) the arrow would help

Michael
Post Reply