Is there a way to open up a directory in PHPStorm or an equivalent Jetbrains IDE from the command line? For example, in Textmate, I would just do:
mate .
to open the working directory.
Open the Terminal tool window Alternatively, you can right-click any file (for example, in the Project tool window or any open tab) and select Open in Terminal from the context menu to open the Terminal tool window with a new session in the directory of that file.
Firstly add a path of IntelliJ till bin to an environment variable. This will open IntelliJ with a given path. Show activity on this post. (Re)creating the idea shell command from the Tools menu works for IntelliJ 2019.
In Visual Studio, click File > Open > Folder. Navigate to the folder, and click Select Folder. This opens the folder in Solution Explorer and displays its contents, files and any subfolders.
We can open the terminal window with ⌥F12 on macOS, or Alt+F12 on Windows and Linux. The terminal supports all the same commands that the operating system supports. and press enter.
Use Tools -> Create command line launcher
and then you can execute pstorm .
Here's how I got IntelliJ Command-line launcher to work with MAC Sierra (v 10.12.2).
This works with IntelliJ IDEA:
Write the chars you wrote after 'bin/' and then '.'
For me its ij .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With