Open folder from terminal

Is there a way to open a folder (a project) from terminal like in VS Code where you can

cd path/to/project
code ./

And VS Code opens up with that project (directory) ready

3 points · 1 comments · view on lemmy.world

1 Comments

elmerdahl@lemm.ee · 2 pts · 1y

I think I found the answer

Tools -> Create command line launcher

You'll be asked to add /Applications/WebStorm.app/Contents/MacOS to your $PATH

Then you can

cd /path/to/project
webstorm .

Worked for me at least.

Credit goes to LazyOne on StackOverflow