Creating a project programatically

Hi,

I use a script to start a new mobile app, create the source control etc and it would be amazing if i could also start the progject programcailly in web storm too. I know it's not a huge job to add it after, but it's a bit annoying.

Any sort of hints would be really appreciated.

Tom

3 comments
Comment actions Permalink

Hi there,

What exactly you mean by "creating a project"?

With WebStorm/PhpStorm it's easy -- just point to any folder (pass it as parameter to webstorm executable) and IDE will open project there (or create brand new if .idea subfolder is not found).

0
Comment actions Permalink

Ah, that's awesome, I didn't know about that. Is there a flag to open it in a new window? If i have a project open already it seems to ignore the path for the files to create / open. It works if i start it with WebStorm closed at the start.

/usr/local/bin/wstorm /Users/Tom/Development/Apps/AppName/  is the line I used


Tom

0
Comment actions Permalink

I do not know about such command line switch.

I guess such behaviour depends on your IDE settings -- where to open new project: a) instead of current b) always new window; c) always ask. So check your Preferences -- use search box to quickly find that option and see if changing it will do any better.

0

Please sign in to leave a comment.