Eclipse: Get location of the current file?

后端 未结 6 1799
情深已故
情深已故 2021-02-03 20:44

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.

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-03 21:12

    Eclipse also has the ability to link the explorer view with the current file, so that whenever you change a file, it is expanded and selected in the explorer view.

    Just look for the following image at the top of the view:

提交回复
热议问题