开发者

Search and Replace only in open files (netbeans)

Anyone know if it's possible to search and replace in all opened files in netbeans? Can't seem to find the option if there even is one.

I'm using th开发者_开发技巧e Netbeans 6.9 PHP IDE


CTRL+SHIFT+H

This will open the Replace in Projects, where-in you can search and replace on files on all open projects, or on the selected project only.


Open the file you want the replacements. Press Ctrl + H And them at the bottom you will see

Search and Replace only in open files (netbeans)


It's available in builds >= 7.4 from NetBeans. Not available in 7.3. I just got a status update message from NetBeans that they've added this feature.

  1. Use Replace in Projects. Shortcut = CTRL+SHIFT+H
  2. Select Open Documents

You can see how it looks likes here


To search in open files press CTRL+SHIFT+F and in section scope select Open Documents.

enter image description here


Sure you can ... or at least you can do something very similar ...

Go to projects view and select multiple files (the files you have opened in this case). Then press CTRL+F and start searching in the selected nodes. It's not exactly 'opened files' but I think it's your best choice.

Hope that helps!

PD: CTRL + CLICK is a good method to select multiple files on Windows.


This seems impossible in netbeans 6.9 and it hasn't been introduced in Netbeans 7 either.


This is possible just the Rule mentioned.

Check Uncheck the files and hit replace button on left hand side.


Select your files you want to find and replace in Project view ( Window > Projects ) Go to Edit > Replace In Projects... In Replace in Projects window select "Selection" from "Scope" dropdown menu

Find and replace will be committed on your selected files in Projects view.

This is the way I found.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜