I always have an IntelliJ running. Sometimes I want to open a file from outside IntelliJ. I can drag and drop a file to IntelliJ if am in the Finder, but if I am on the command line on OS X, how can I instruct IntelliJ to open a certain file? I am looking for something similar to the mate
command provided by TextMate.
相关问题
- Xcode debugger displays incorrect values for varia
- Is there a way to report errors in Apple documenta
- Advice for supporting both Mac and Windows Desktop
- Configure gradle plugin based on future tasks
- How to make available “open this project in Intell
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- In IntelliJ IDEA, how can I create a key binding t
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- ImportError: No module named twisted.persisted.sty
- How can I vertically align my status bar item text
Edit your
~/.bash_profile
adding the following, changing the path to version of IntelliJ you'd like to use:Then from the command line, open files with
ij your-file.txt
.It's actually already implemented in the linux and OS X version of IntelliJ IDEA.
Not sure it's available for windows.
idea
is the command you are looking for.At least if you install "IntelliJ IDEA Ultimate", it will create the command
idea
by default in/usr/local/bin/