Eclipse:获取当前文件的位置? [英] Eclipse: Get location of the current file?

查看:97
本文介绍了Eclipse:获取当前文件的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在Eclipse中有一个文件打开,我该怎么弄清文件系统的位置?



例如,在Vim中我会使用:pwd

解决方案

使用Eclipse菜单:



文件 - >属性



或快捷方式:



<输入



您应该可以看到与资源相关联的位置


If I've got a file open in Eclipse, how can I figure out where it is on the filesystem?

For example, in Vim I would use :pwd.

解决方案

Use the Eclipse menu:

File->Properties

or the shortcut:

Alt-Enter

You should be able to see the Location associated with the Resource

这篇关于Eclipse:获取当前文件的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆