Faster search for files in Netbeans - search

Is there an existing plugin or tweak that speeds up the "Go To File" search in Netbeans ? Compared to Eclipse, Netbeans search is way too slow specially if one has multiple large size projects.
I know I can use CTRL+O for "Go To Type" but often I need to search for other file types like XMLs, property files etc. across thousands of files in multiple projects.
I installed the Quick Search plugin but even that doesn't search for non Java file types.

You can focus on the Project Tree and simply type the file name which you want to looking for. Press Up/Down to select if more than one file match your search.
Or use keyboard shortcut to open the search file form:
Windows/Linux:
Alt+Shift+O
Mac OS:
Control+Shift+O

The best way to search and open file in netbeans -
Press CTRL+O and type file name you are looking for, it will search in current projects and list matching files

why not right click on the project and click 'find'?

I can only recommend using the Open File Fast plugin
http://plugins.netbeans.org/plugin/16495/open-file-fast

How to quickly find a file/files in netbeans. Maybe for someone it will be helpful.
In Netbeans projects files view select some directory where you want to look for the file.
Click ctrl+f to show the finder dialog
Pass your file name into 'file name patterns' input
In options set only 'Regular expression'
The 'Containing text' input has to be empty

For Mac users
control+shift+O

http://plugins.netbeans.org/plugin/16495/open-file-fast
Find file fast will your solution for find file faster just like sublime..
using the shortcut alt+shift+o
hope it will help

You can install the recent file list plugin
This plugin is not as powerful as the intellij but to simulate the same behavior (open the recent files with ctrl+E):
After install the plugin assign the Ctrl+E shortcut to the "Recent Files" action: Tools->Options->Keymap->Search "Recent Files" and assign Ctrl+E shortcut

If all you need is to search by file name/pattern, then I suggest plugin "Quick File Search" http://plugins.netbeans.org/plugin/70267

Press Ctrl + Shift + H.
On the screen appear option scope. Click on this text-box and choose the project you want to find needed text snippets, or you can find all of the projects. I am using Netbeans 8.1 Best regard !

Related

How to quickly find files in big Android Studio Project

I want to know that how can I find the files (java files, Kotlin files, xml files) in a big Android Project having hundred of files.
Like since yesterday I am trying to find a Kotlin file inside my project which is associated with a xml file. I was somehow able to find the xml file but now I don't know in which Kotlin file this xml is used.
It consumes a lot of time to search for files when you are working on a big project which is built by other people so is there any way I can easily navigate files in Android Studio.
Please let me know it will be very helpful and will save lot of my time!
If you know the file name then do Double shift and then write the name of the file.
Or if you have found the xml file then do write click on the xml file in the project structure and then click find Usages menu or shortcut is Alt+F7
Menu : Edit -> Find -> Find to open find a search box or On a Windows or Linux based machine use shortcut Ctrl + Shift + F to search any string in whole project. ...
On OSX use the Command key instead of Ctrl .
Use Ctrl + F combination for Windows and Linux to search in current file.
Secon

How to search specific filename in Visual Studio Code?

For example, I want to search a file whose name is "module-product.js" to rename it.
But there are lots of files whose names started with "module-".
How to quickly find the specific file in Visual Studio Code?
Ctrl+P and enter details into the popup that you would like to search for! You can prefix the search with # to search for a function.
Others (on a mac) include;
⌘+T Show all Symbols
⌃+G Go to Line...
⌘+P Go to File...
⇧+⌘+O Go to Symbol...
A secret feature of VSCode is the explorer filter.
Cmd-Shift-E (or clicking the sidebar) focusses the explorer. Typing some characters shows only files or directories whose names contain the given characters. Esc clears the search.
As usual, you can use Up- and Down-Arrow to navigate the displayed file list and Cmd-Down to open the currently highlighted file.

How to search all files in project from text editor (IDE)?

Which text editor allows to search all files in the project, without a need they to be opened?
For example: When I'm using Visual Studio and I open project Ctrl+F allows searching into all of the files in the current project. That's for ASP.NET projects.
I want to be able to search in my PHP project. I'm using NotePad++, but when I want to search into all the files, I need to open all of them first, and after entering the phrase to choose Find All in All Opened Documents. But now my project is getting bigger and bigger, and I want to be able to search into all of the files, without need all of them to be opened as a tabs.
Is there such an option in NotePad++? If not, can you recommend me some text editor or IDE that allows this type of searching in normal PHP project(and how that can be done)?
the function is just in front of you:
Notepad++ offers the "Find in Files..." Option in the search menu. (It is just the third tab in the usual search dialog. )
Just enter the correct filter (e.g. *.php or *.*) and use the checkboxes on the right. Most useful is "Follow current doc", which preselects the "Directory" selection. Depending on your project layout you want to enter a constant path there and also check the "In all sub-folders" option.
I really miss the ease of this notepad++ function in eclipse. For me this IS "grep for windows". And you have also replace functionality, so this can be a "sed for windows" replacement, too.
With best regards,
Lars
what operating system are you using?
In most Linux distros you could use the command line with something like this
grep -rnw ./haystack/* -e "needle"

Can I use the VS2012 Quick Launch to open a file from my solution?

VS2012 added a new Quick Launch edit box in the title bar. Is there a key sequence I can use to open an arbitrary file from the solution?
I want something:
fast
keyboard only
that doesn't care where in my solution the file lives
I think the answer is "no" but I found a different way to do the same thing: ctrl-;. This does "search in Solution Explorer". It incrementally searches files and symbols.

IntelliJ IDEA global search

I would like to search across projects for variable usages, or at least for strings. I've got IndexYourFiles which works well for text searches, but I have to re-index every now and then and would like an integrated solution.
Is there any way that I can search across projects in IntelliJ IDEA? So far I have only been able to search within the currently-open project. I'm guessing IntelliJ can't do this natively; are there any plug-ins out there to support this?
Thanks.
IntelliJ is project based so you can only search within the open project using Ctrl + Shift + F(Windows) or Cmd + Shift + F(Mac).
When I need to search across a set of projects I use Agent Ransack
IntelliJ 13 (at least) has "Edit/Find/Find in Path...".
It has the Scope option which can be set to a directory, so if all projects are in the same directory (e.g. IdeaProjects) then it will search all projects.
Use grep.
In the terminal, go to the root directory of your project, and type grep -r my_string_here ..
You can add color to your search with --color (just add alias grep='grep --color' to your.bash_profile, and add-i` to make your search case-insensitive.
In the IntelliJ now it is very easy to find the anything through just two clicks and search on the bar.
Double click on shift and enter the keyword in the search bar.
I'm using ubuntu which I found the shortcut.
My workplace eventually set up Atlassian Fisheye which allows us to search for code or specific files across all of our projects, and it's working well.

Resources