intellij 可用性问题 - 如何添加打开工作文件夹的按钮
intellij idea中有一个小功能是我一直向往的,我会在这个论坛上尝试一下,也许它已经可以实现了。
简而言之:我想要一个按钮来打开我正在处理的项目的工作文件夹。
由于这是我放置设置文件的文件夹,因此我每天都会执行数十次以下操作 -
打开运行/调试配置。
转到我的 activbe 项目选项卡。 复制工作目录。
打开运行(win+r)。
粘贴文件夹路径并按 Enter 键。
X几十次。
有没有办法在某处添加一个按钮来打开我的工作文件夹?
顺便说一句:我知道在项目设置 - 外部工具 - 我可以添加操作。但宏中没有工作文件夹。有没有办法添加工作文件夹? (尽管有一个按钮会更好)
多谢。
There's a small feature I have been yearning about in intellij idea and I will give it a try in this forum, maybe it is already possible.
In brief: I want a button that opens the working folder of the project I am working on.
Since this is the folder I put my settings files I am doing the following operation dozens of times a day -
open the run/debug configuration.
go to my activbe project tab.
copy the working directory.
open run (win+r).
paste the folder path and press enter.
X dozens of times.
Is there a way to add a button somewhere that opens my working folder?
BTW: I know that in the project settings - External tools - I can add actions. but there is no workingFolder in the macros. is there a way to add the working folder? (eventhough a button would be better)
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您需要管理文件,为什么不直接从 IntelliJ 进行呢?如果您必须转到资源管理器,请右键单击项目面板中的任何文件或文件夹,Windows 中有一个“在资源管理器中显示”选项(无默认键映射)。还有“显示路径”(ctrl+alt+F12),它允许您打开资源管理器到所选文件的任何父目录,一直到驱动器。最后,“复制路径”(ctrl+shift+C)会将绝对路径复制到剪贴板。 (这是在 IDEA 10.5 中,但我知道复制路径已经存在很长时间了。)
If you need to manage files, why not do it right from IntelliJ? If you have to go to explorer, right click any file or folder in the project panel, and there's a "Show in Explorer" option in Windows (no default key mapping). There's also "Show Path" (ctrl+alt+F12), which lets you open Explorer to any parent directory of the selected file all the way up to the drive. Finally, "Copy Path" (ctrl+shift+C) will copy the absolute path to the clipboard. (This is in IDEA 10.5, but I know Copy Path has been there a long time.)