Find/Replace for all open files

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Find/Replace for all open files

Post by skywalk »

@freak - Hey, can you expose the "jump to procedure" action to a shortcut?
I find it awkward to hold the [CTRL+LeftMouse CLICK].
Rather a simple keyboard assignment.

And, when you do jump to a procedure outside of the current file, [CTRL+L] does not get you back. :(
Last edited by skywalk on Tue Jul 08, 2014 12:28 am, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Find/Replace for all open files

Post by c4s »

freak wrote:
max_aigneraigner@web.de wrote:And I want to jump to the declaration of a procedure by rightclick on the command -> jump to declaration (same thing, you want to check if that procedure causes the error and first you search for the sourcefile, and THEN you don't know where exactly the function is hidden^^

for example:

Code: Select all

procedure tree()
endprocedure 

tree()  ; <<-- right click here (or double click and Control holed, as it is in Japbe... )
This already works. Just hold down the Ctrl key and doubleclick on the procedure name.
Wow that's great - something I always needed!
Still a feature request for this one: Please, make it work for macros, thanks.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Find/Replace for all open files

Post by luis »

I second that. Find/replace in all open files.
"Have you tried turning it off and on again ?"
A little PureBasic review
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Find/Replace for all open files

Post by Mistrel »

NetBeans has a really great feature when it comes to project-wide find and replace. When you perform a find/replace in this way it provides a list of each file with a checkbox next to it. You can then confirm each one individually before you actually approve the event.

This is useful, for example, when you might accidentally attempt to replace a string which is actually part of a longer string and would have unintentionally been replaced.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Find/Replace for all open files

Post by blueznl »

Ooooh, that's a nice idea, and definitely would avoid faulty replacements...
( 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... )
Post Reply