In eclipse, open the plug-in of the folder where the file is located and set

Source: Internet
Author: User

If you often need to open the folder where the related resource files are located in eclipse, It is troublesome to right-click the folder and copy the folder in the location column, then enter the path in resource manager and press enter to open it.

Solution:
With the easyexplorer plug-in, you can easily open the folder where the resource file is located.

Installation:
Easyexplorer fromHttp://sourceforge.net/projects/easystruts

The downloaded file is a jar compressed file. The latest version is 1.04, which has not been updated for a long time, but is still supported by the latest eclipse 3. * platform. However, the installation method of this plug-in does not work through the automatic update management of Eclipse.

The simplest way to work is:Directly place the JAR file in the eclipse plugin directoryAnd then restart the eclipse platform. Right-click the eclipse platform and you will be able to view the East explorer menu item to open the directory where the resource is located. Just so easy.

However, the disadvantage is that the newly downloaded plug-in is stored in the original Eclipse plug-in directory, a lot of plug-ins will mess up with you :(

Using the easyexplorer plug-in, you can use explorer in eclipse to open the folder where the resource file is located. For other configurations, Windows => preferences => easy to use E => Target => assumer.exe {0}

It can be seen that the Windows platform is opened with assumer.exe {0}, and {0} is used to pass parameters.

Tip: notepad/e, {0}. In this way, easybench e is used to open the folder. In addition, in the file tree on the left, it is directly located on the folder, it is very convenient.

The parameters of assumer.exe are as follows: You can set them according to your preferences:
Command Format explorer [/n] [/E] [[,/root], [path] [[,/select], [path filename]

Parameter description
/N indicates opening a new window in "My Computer" mode, which usually opens the root directory of the Windows Installation partition.
/E Indicates opening a new window in the "Resource Manager" mode. The root directory of the Windows Installation partition is usually opened.
/Root, [path] indicates opening the specified folder,/root indicates displaying only the files (folders) under the specified folder, but not other disk partitions and folders; [path] indicates the specified path.
If you only use the [path] parameter without the/Root parameter, you can display the content in other disk partitions and folders. In addition, you can specify the network shared folder in [path.
/Select, [path filename] indicates opening the specified folder and selecting the specified file. [path filename] indicates the specified path and file name.
If the/select parameter is not added, the related association is used.ProgramOpen the file. If [path filename] is not followed by the file name, the parent directory of the folder is opened and the folder is selected.

After analyzing the parameters of cmd.exe, we may want to display both the file tree on the left and the selected files or folders located on the right.
It should be set:Assumer.exe/e,/select, {0}But what easy‑e helps you open is located on the folder instead of the corresponding file.

 

Other plug-ins with the same function:

Openexplorer:

I personally like to use this function. This function is the same as that of myeclipse. It is used by lazy people on the toolbar.

Startexplorer:

1. Open the current file in Windows Explorer. (Windows only)
2. Use the system default program to open the current file.
3. Open cmd.exe and locate the directory of the current file. (Windows only)
4. Copy the current file path to the clipboard.
5. other custom commands.
All of the above functions support custom shortcuts.

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.