IntelliJ:Ubuntu / linux如何用shell从IntelliJ打开文件 [英] IntelliJ: Ubuntu/linux how to open file with IntelliJ from shell
本文介绍了IntelliJ:Ubuntu / linux如何用shell从IntelliJ打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在这个问题之后,似乎可以在MAC上使用IntelliJ从shell打开文件。
Following this question, it seems that it is possible to open a file from the shell with IntelliJ on MAC.
IntelliJ: how to open files in an existing IntelliJ from the command line
Ubuntu有类似的内容吗?
Is there anything something similar for Ubuntu?
推荐答案
您可以将文件与 IDEA_DIR / bin / idea.sh
文件关联。或者甚至更好,使用工具
| 创建命令行启动器...
You can associate the files with IDEA_DIR/bin/idea.sh
file. Or even better, use Tools
| Create Command-line Launcher...
然后,您可以使用以下命令在IDEA中打开文件:
idea FileName.java
Then you can open files in IDEA using the following command:
idea FileName.java
这篇关于IntelliJ:Ubuntu / linux如何用shell从IntelliJ打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文