IDE Enhancements for Procedures List

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
nalor
Enthusiast
Enthusiast
Posts: 121
Joined: Thu Apr 02, 2009 9:48 pm

IDE Enhancements for Procedures List

Post by nalor »

Hello!

I'd appreciate the following features:

# allow scrolling with mouse wheel in procedures list (at the moment the scrolling is always done in the main window)
# allow to sort procedures-list by alphabet (usually I don't care where a particular procedure is - but I know their name and with sorting it would be a lot easier to find them)
# option to jump from the main window directly to a procedure (the equivalent of 'Jump to Marker' >> 'Jump to Procedure' )

Thanks in advance!

Roland
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: IDE Enhancements for Procedures List

Post by PB »

> allow scrolling with mouse wheel in procedures list

+1, but I'm wondering if it's just a mouse setting for the OS anyway?

> allow to sort procedures-list by alphabet

It already can; it's a Preferences setting.

> option to jump from the main window directly to a procedure

How would that work? Can you give an example?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: IDE Enhancements for Procedures List

Post by Fred »

nalor wrote:# option to jump from the main window directly to a procedure (the equivalent of 'Jump to Marker' >> 'Jump to Procedure' )
Like CTRL+DoubleClick ?
Korolev Michael
Enthusiast
Enthusiast
Posts: 200
Joined: Wed Feb 01, 2012 5:30 pm
Location: Russian Federation

Re: IDE Enhancements for Procedures List

Post by Korolev Michael »

When double-clicking on the name of a procedure that is defined in the current source while holding down the Ctrl Key, the cursor automatically jumps to the declaration of this procedure.
From documentation.
Former user of pirated PB.
Now registered user :].
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: IDE Enhancements for Procedures List

Post by PB »

Maybe he means a hotkey to jump from the current procedure to the next procedure in the code?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: IDE Enhancements for Procedures List

Post by IdeasVacuum »

Nalor's request could simply mean "click on the Procedure name in the list, jump to the procedure in the code" ~which of course already works by default, but maybe (not sure) isn't mentioned in the help?

Or, he could mean a similar method but more advanced - a Procedure List that lists the procedures of the current file plus all those that are Xincluded - now that would be handy!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
nalor
Enthusiast
Enthusiast
Posts: 121
Joined: Thu Apr 02, 2009 9:48 pm

Re: IDE Enhancements for Procedures List

Post by nalor »

Hello again!

I had something simple like right click on a procedure name and select "Jump to Procedure" in the context menu in my mind (the same as there is an entry 'Jump to Marker' available in the context menu).
This way it would be easy to jump even to a procedure defined in an included file...

I just tried CTRL+Doubleclick and it does what I wanted, just wondering why it's such a hidden feature? I mean I've never used 'Jump to Marker' in the past - but it's available in the context menu... and this (in my eyes) usefull feature isn't available in the context menu...

And lastly: Thanks 'PB' - you're right, it's already possible to sort the procedures alphabetically in the preferences! Never noticed this settings before..

So only my 'main' feature request is really not possible at the moment: use the mouse wheel in the procedure-list. Usually I'd expect that at least after clicking into this area with the left mouse button (and so making it the active 'gadget') the mouse wheel should allow scrolling through the list. But it does always scroll the main window..
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: IDE Enhancements for Procedures List

Post by skywalk »

nalor wrote:So only my 'main' feature request is really not possible at the moment: use the mouse wheel in the procedure-list. Usually I'd expect that at least after clicking into this area with the left mouse button (and so making it the active 'gadget') the mouse wheel should allow scrolling through the list. But it does always scroll the main window..
I already asked and freak said no. :( Something about windows controls and/or design of the toolbox?
I cannot tell you how many times my code scrolls away because I "think" the Procedures tool has the focus. :evil:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
GoodNPlenty
Enthusiast
Enthusiast
Posts: 112
Joined: Wed May 13, 2009 8:38 am
Location: Arizona, USA

Re: IDE Enhancements for Procedures List

Post by GoodNPlenty »

skywalk wrote:
nalor wrote:So only my 'main' feature request is really not possible at the moment: use the mouse wheel in the procedure-list. Usually I'd expect that at least after clicking into this area with the left mouse button (and so making it the active 'gadget') the mouse wheel should allow scrolling through the list. But it does always scroll the main window..
I already asked and freak said no. :( Something about windows controls and/or design of the toolbox?
I cannot tell you how many times my code scrolls away because I "think" the Procedures tool has the focus. :evil:
+1, This is incredibly aggravating.
If the procedures list has the focus and you use the mouse wheel and can't scroll the procedure list maybe you could prevent scrolling the main window while the procedures list has the focus.
Korolev Michael
Enthusiast
Enthusiast
Posts: 200
Joined: Wed Feb 01, 2012 5:30 pm
Location: Russian Federation

Re: IDE Enhancements for Procedures List

Post by Korolev Michael »

@skywalk +1
Former user of pirated PB.
Now registered user :].
Post Reply