Eclipse opens the current edit file using an external editor

Source: Internet
Author: User

Title:eclipse using an external editor to open the current edit file
date:2016-08-03 20:43
Tags
-Eclipse
Categories
-Eclipse

Test

Sometimes we need to find out which directory the Java files, packages, configuration files, etc. are being written.
This is usually the 选中文件/文件夹/包名->右击->Properties->Location->复制路径->按Win键->粘贴地址->回车 way to open that folder. This is a cumbersome and inefficient approach.

But Eclipse has provided us with a way to solve this problem and provide External Tools this stuff.
This place on the menu bar Run->External Tools->External Tools Configurations
Or if the toolbar has an icon, you can click it directly.

You can configure it when you open it.

Select First Program , then click the New icon in the upper left corner to create a configuration.
LocationInput C:\Windows\explorer.exe that represents the file browser.
AragumentsEntering ${selected_resource_loc} This parameter returns the absolute path of the resource that is currently selected.
NameIt would be nice to write a name that you can remember.

LocationWhere input C:\Windows\explorer.exe is meant to have the Explorer open this file, in Windows This file is the folder window. So we can get the files in the folder

After this command is run, the default text editor on your system will be called to open the file you selected.

The next configuration displays the currently edited resource file in the folder.
Configuration method as described above, as long as the Araguments change ${container_loc} can be.

As for some other extension tools, you can click Variables to select more useful features.



From for notes (Wiz)

Eclipse opens the current edit file using an external editor

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.