Page 1 of 2
Find/Replace for all open files
Posted: Tue Jan 20, 2009 11:24 am
by Mistrel
It would be nice to be able to do a find/replace that searches all open files.
Posted: Tue Jan 20, 2009 6:33 pm
by naw
Mm! Sounds dangerous - do you really mean ALL open files?
Posted: Tue Jan 20, 2009 8:36 pm
by Mistrel
I do. It's the programmer's responsibility to know what files are open before performing this kind of search.

.
Posted: Tue Jan 20, 2009 9:25 pm
by PB
@naw: He means all open files in the IDE, not in the computer.

Posted: Tue Jan 20, 2009 9:59 pm
by Fluid Byte
+1
That feature is definitely a must have. The site manager of Dreaweaver and Aptana for example offer this and saves the developer a lot of work.
Posted: Wed Jan 21, 2009 12:42 am
by pdwyer
I'd use that if it were there too!
Re: Find/Replace for all open files
Posted: Sun May 23, 2010 6:11 am
by Josh
in the meantime we have projects in pb. so it would be fine, to have following options in find/replace dialog:
- in procedure
- in file
- in project
i find it importent to search/replace in procedures too, becouse the procedureexplorer don't show the correct procedure
Re: Find/Replace for all open files
Posted: Mon May 24, 2010 11:59 am
by jamba
+1
would be very useful!
Re: Find/Replace for all open files
Posted: Mon May 24, 2010 6:50 pm
by HwyStar
+1!
It's probable a pain to code but worth the effort.
Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 8:23 am
by max_aigneraigner@web.de
+1

I would love it!
what would be great, too -> a
sourcecode-FILE-search function with while-typing-finding that searchs the name of all open codes. because i have got 20 codes opened and NEVER know where this and that file is!.
especially by bug-tracing that would make possible much faster jumps between the codes.
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... )
and if there is an
invalid memory access- in a procedure ! caused by one of the parameters, then I want to
know where the procedure has been called so that I can trace this wrong parameter!
at the moment I have to write before every single call of the procedure a command that uses the pointer so that it causes there the IMA and not in the procedure itself..^^ (can be quite boring if you call this function about 20 times.. [ok.. male exaggeration.. but 6 Times!]
yours
Walker
Maybe.. in a far future.. these things could be available?? I think some in here would help If we were allowed to !

Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 10:33 am
by ar-s
The search n replace for all opend file is allowed on JaPBe
Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 1:16 pm
by max_aigneraigner@web.de
JaPBe doesn't really work on 64 bit !
it crashes sometimes and it "looses" the functions^^ so in the function-list the funcitons fade away for example..
And -> you always have to click "search in next file..." (more than 30 files opened -> click click click click...)

Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 1:56 pm
by freak
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.
max_aigneraigner@web.de wrote: and if there is an invalid memory access- in a procedure ! caused by one of the parameters, then I want to know where the procedure has been called so that I can trace this wrong parameter!
at the moment I have to write before every single call of the procedure a command that uses the pointer so that it causes there the IMA and not in the procedure itself..^^ (can be quite boring if you call this function about 20 times.. [ok.. male exaggeration.. but 6 Times!]
The Callstack debugger tool tells you exactly where the call came from that caused the problem. There is no need to search for it.
Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 2:41 pm
by max_aigneraigner@web.de
Ok, well I tried it but maybe not int the right way^^
I have to admit underestimated you

that's great! thanks

[is there a possibillity to jump back to where I did double click on the procedure? for example F4 in Japbe.. (but japbe drives me crazy on 64 bit..)
Callstack debugger tool.. ah that's quite a useful tool, didn't know about it, thanks!

Well you are always some steps infront of me ^^
(only the search function would be another small advantage here I think. but these features make live a lot easier)
Re: Find/Replace for all open files
Posted: Fri Jun 04, 2010 2:45 pm
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.
