简体   繁体   English

从命令行intellij打开目录作为项目

[英]open directory as a project from command line intellij

I currently use the following command when I'm in the directory I want and I want to create a project in intellij: 当我在我想要的目录中时,我目前使用以下命令,我想在intellij中创建一个项目:

open -b com.jetbrains.intellij

I find this alot more verbose than 我觉得这比人们更冗长

subl .

Is there a more terse command for creating a project from the current directory (from the command line) with intellij? 是否有更简洁的命令用于从当前目录(从命令行)使用intellij创建项目?

You can create an alias in your bash profile to replace that line. 您可以在bash配置文件中创建别名以替换该行。 Something like: 就像是:

alias openij="open -b com.jetbrains.intellij"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM