More IDE automation...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueb
Addict
Addict
Posts: 1111
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

More IDE automation...

Post by blueb »

When I place my cursor on an existing PureBasic Constant, Structure or Interface in my program and I press the F1 key, the IDE should respond by opening the Structure Viewer Tool at the appropriate location, so that I can see the values... much in the same way the Windows API now operates e.g. "CopyFile_"

Because of the time-delay (many constants, etc) when starting the Structure Viewer Tool, perhaps it could also be set up to run in the background?

blueb
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: More IDE automation...

Post by PB »

When I press Alt+S on a structure name, the Structure Viewer opens to it.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
blueb
Addict
Addict
Posts: 1111
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: More IDE automation...

Post by blueb »

Yes, that's true, but it only opens the program. It does not go to the desired Constant or Structure location.
Besides I like F1 being the help key. :)

blueb
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: More IDE automation...

Post by luis »

blueb wrote:Yes, that's true, but it only opens the program. It does not go to the desired Constant or Structure location.
It does here, as PB said, for Structures and Interfaces. I'm on Windows but I seem to recall it does it on Linux too.
blueb wrote:When I place my cursor on an existing PureBasic Constant, Structure or Interface in my program ...
Not much to be said about a constant though, but indeed they are there...so... maybe it should jump to them too.
"Have you tried turning it off and on again ?"
A little PureBasic review
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: More IDE automation...

Post by PB »

> It does not go to the desired Constant or Structure location

It does for Structures.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply