Find/Replace Scope


I can't seem to find a way to do Find/Replace in a Scope smaller than a file.
I am trying to do it within Selected Text and within Current Procedure.

Is there a way to do this?

3 comments
Comment actions Permalink

Hello opticyclic,


I can't seem to find a way to do Find/Replace in a Scope smaller than
a file.
I am trying to do it within Selected Text and within Current
Procedure.
Is there a way to do this?


The Replace dialog (Ctrl+R) has an option for this: Scope | Selected Text.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Any reason why it isn't in the Find dialog (CtrlShiftF) as well?
Selected Text and Current Procedure could be added to the Custom Dropdown that is in the Scope frame

0
Comment actions Permalink

Hello opticyclic,

Any reason why it isn't in the Find dialog (CtrlShiftF) as well?
Selected Text and Current Procedure could be added to the Custom
Dropdown that is in the Scope frame


Well, the dialog is not "Find" but rather "Find in Path" - the action is
for multiple file search/replace.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.