F3

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
franky13
Posts: 68
Joined: Thu Jan 15, 2009 1:48 am

F3

Post by franky13 » Fri May 15, 2009 2:29 am

Hello all,

I am struggling a little bit with PS' search behavior. It would love to see:

1. If a select a piece of text and hit F3/Shift+F3 I would expect PS to search for the next/previous appearance of this text. Instead it searches for the next/previous appearance of my last search.

Or at least an option "Next/previous search searches for current selection instead of last search item" would be nice :-)

2. The find-dialog should not automatically close, if I hit "Find next" because maybe the next hit is not the one I'm looking for...

Thank you
Frankfranky132009-05-15 09:30:04

User avatar
Alexander Riedel
Posts: 7096
Joined: Tue May 29, 2007 4:43 pm

F3

Post by Alexander Riedel » Fri May 15, 2009 2:59 am

Hi Frank.

F3 and Shift+F3 by definition repeat the last search,
that is consistent with other editors, including Visual Studio. You can use Ctrl+F3 to search for the next occurrence of the current word under the cursor or the current selection.

The find dialog closes so it doesn't cover up any of your code, F3 simply finds the next occurrence if the next it isn't it.

Personally I use incremental find (Ctrl+I) more than anything else.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
franky13
Posts: 68
Joined: Thu Jan 15, 2009 1:48 am

F3

Post by franky13 » Fri May 15, 2009 3:37 am

Hi Alex,

thanks for your reply! I'll give your suggestions a try...

Have a nice weekend
Frank

User avatar
franky13
Posts: 68
Joined: Thu Jan 15, 2009 1:48 am

F3

Post by franky13 » Sat May 16, 2009 12:23 am

Hi Alex,

thanks for the tip with CTRL+F3 - didn't know that and works fine for me...

Another question: was does the incremental search (CTRL+I) do? I don't get it (hitting CTRL+I doesn't seem to have any effect no matter what I try) and both the online help and the manual don't say a word about this feature. It must be really cool if you use it that often, so I'm really curious what I could do with it...

Thank you
Frank


User avatar
Alexander Riedel
Posts: 7096
Joined: Tue May 29, 2007 4:43 pm

F3

Post by Alexander Riedel » Sat May 16, 2009 4:10 am

It's pretty simple. Hit Ctrl+I.
Start typing the item you search for.
If you look at the left are of the status bar you will see your search expression.

As you type, the current match will be highlighted.

Press enter when you hit the right match, press F3 to search for the next occurrence.
Alexander Riedel
SAPIEN Technologies, Inc.

Locked