vscode의 code . 처럼 webStorm도 터미널에서 바로 프로젝트를 실행할 수 있도록 설정하는 방법
터미널에서
cd /usr/local/bin
sudo vi webstorm // 'webstorm' shell script 생성
아래내용을 복붙하여 넣는다
#!/bin/sh
open -na "WebStorm.app" --args "$@"
webStorm shell script 실행권한 추가
chmod +x /usr/local/bin/webstorm
만약
chmod: Unable to change file mode on /usr/local/bin/webstorm: Operation not permitted
라는 에러가 뜬다면
sudo chmod +x /usr/local/bin/webstorm
정상적으로 세팅되었다면 webstorm . 으로 프로젝트 실행가능