在项目浏览器中打开文件的路径

时间:2020-07-05 12:32:41

标签: android-studio intellij-idea project-explorer

通常情况下,我在item_category.xml这样的标签中打开了一个文件: enter image description here

项目浏览器仍然显示其他内容。有什么方法可以在项目浏览器中打开item_category.xml的路径吗?我已经检查了item_category.xml的右键菜单,但是找不到匹配的选项。

2 个答案:

答案 0 :(得分:1)

在项目浏览器中使用该符号(快捷方式:Alt+F11):

enter image description here

enter image description here

有关此功能的更多信息:Locate a file in the Project tool window

答案 1 :(得分:0)

如果您不想使用鼠标而是键盘快捷键

  • 第一个选项可能是为"dev": "webpack-dev-server --mode development --progress"分配快捷方式。它位于Select in Project View / Keymap下。

  • 第二个选择是为此安装Other插件。详细信息为here

在项目面板中将键盘快捷键设置为“从源滚动”功能。您可以自行设置所有操作系统(Window / Linux / Mac)的特殊快捷方式

对于Mac,默认快捷方式为 Command + Control + S