How to find specified files in a large number of projects in Eclipse (reprint)

Source: Internet
Author: User

Reprint: http://blog.csdn.net/inowcome/article/details/6699227

In eclipse it's not easy to find the files you specify in a large number of projects, but Eclipse offers powerful search capabilities.

We can set the search condition by wildcards or regular expressions, here is an example of the operation:

Ctrl+h Open the Search interface

Search results:

Search by text content that a file may contain

Using file search will satisfy most of the features of our search. Using the functionality of this tab, we can provide a file that may contain text content

For a fuzzy query, this process allows you to further control the scope of the search, such as setting up a search for only XML files. Note the need to write *.xml and not just. xml


Search by file name

Search results:

There are two points to note:

    1. Containing text: fill in *
    2. File name patterns: can be filled according to the situation, such as only know the file name, do not know the extension, can be written as: hello.*

This makes it easy to search for the files we need (assuming it exists, of course).

TAB Java Search uses

Search results

The method used is simple, similar to file search, but we need to pay attention to the selection of red areas in the image. It can affect the results of the search,

We need to make the appropriate choice according to the actual needs.

How to find specified files in a large number of projects in Eclipse (reprint)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.