{"action":"created","issue":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1079","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1079/labels{/name}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1079/comments","events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1079/events","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/1079","id":112177984,"number":1079,"title":"Integrate with PhpStorm's Command Line Tool","user":{"login":"tsvenson","id":444455,"avatar_url":"https://avatars.githubusercontent.com/u/444455?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvenson","html_url":"https://github.com/tsvenson","followers_url":"https://api.github.com/users/tsvenson/followers","following_url":"https://api.github.com/users/tsvenson/following{/other_user}","gists_url":"https://api.github.com/users/tsvenson/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvenson/subscriptions","organizations_url":"https://api.github.com/users/tsvenson/orgs","repos_url":"https://api.github.com/users/tsvenson/repos","events_url":"https://api.github.com/users/tsvenson/events{/privacy}","received_events_url":"https://api.github.com/users/tsvenson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/milestones/2","html_url":"https://github.com/hechoendrupal/DrupalConsole/milestones/must-have","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/milestones/2/labels","id":1161186,"number":2,"title":"must-have","description":"sdsd","creator":{"login":"jmolivas","id":366275,"avatar_url":"https://avatars.githubusercontent.com/u/366275?v=3","gravatar_id":"","url":"https://api.github.com/users/jmolivas","html_url":"https://github.com/jmolivas","followers_url":"https://api.github.com/users/jmolivas/followers","following_url":"https://api.github.com/users/jmolivas/following{/other_user}","gists_url":"https://api.github.com/users/jmolivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmolivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmolivas/subscriptions","organizations_url":"https://api.github.com/users/jmolivas/orgs","repos_url":"https://api.github.com/users/jmolivas/repos","events_url":"https://api.github.com/users/jmolivas/events{/privacy}","received_events_url":"https://api.github.com/users/jmolivas/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":9,"state":"open","created_at":"2015-06-12T00:29:42Z","updated_at":"2015-10-21T15:53:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-19T16:09:02Z","updated_at":"2015-10-21T23:32:25Z","closed_at":null,"body":"After I got Composer and Drush working from the built in Command Line Tool (CLI/Shell) in PhpStorm I got blown away with the workflow and productivity improvements it resulted in.\r\n\r\nLooking at the list of out-of-box support in the screenshot below, my guestimate is that most of what Drupal Console need to integrate already *should* be there. To start with, the code generation features in Drupal Console would feels like top of the list of benefits this would have.\r\n\r\n![phpstorm_cli](https://cloud.githubusercontent.com/assets/444455/10582633/11027086-7689-11e5-9be1-15dc4c98cfc6.png)\r\n\r\n[Enabling a Command Line Tool](https://www.jetbrains.com/phpstorm/help/enabling-a-command-line-tool.html) is a good starting point for information about how to create new Command Line Tools for PhpStorm.\r\n\r\nI'm going to try making this work, but have still a lot of learning and configuration to do before my setup is ready for a serious attempts.\r\n\r\nOne thing I would like to test if it is possible is if it is possible to take advantage of Drupal Console directly from the \"File/New Project...\", \"File/New...\" (files and folders) and \"Code/Generate...\" features without having to go via the terminal. That would be something...\r\n\r\nIf anyone else is interested of collaborating on this, let me know and we can have a talk about it."},"comment":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/comments/150053797","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/1079#issuecomment-150053797","issue_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1079","id":150053797,"user":{"login":"tsvenson","id":444455,"avatar_url":"https://avatars.githubusercontent.com/u/444455?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvenson","html_url":"https://github.com/tsvenson","followers_url":"https://api.github.com/users/tsvenson/followers","following_url":"https://api.github.com/users/tsvenson/following{/other_user}","gists_url":"https://api.github.com/users/tsvenson/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvenson/subscriptions","organizations_url":"https://api.github.com/users/tsvenson/orgs","repos_url":"https://api.github.com/users/tsvenson/repos","events_url":"https://api.github.com/users/tsvenson/events{/privacy}","received_events_url":"https://api.github.com/users/tsvenson/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T23:32:24Z","updated_at":"2015-10-21T23:32:24Z","body":"@danielrose28, thanks for showing interest in this idea. I'm a newbie too, however we can certainly work something out together.\r\n\r\nSome is already working, try the following:\r\n\r\n1. Open Settings/Tools/Command Line Tool Support\r\n2. Click the + to add a new tool\r\n3. ![selection_004](https://cloud.githubusercontent.com/assets/444455/10652901/87f3f93a-785a-11e5-85cd-0eb83ba54abf.png)\r\n4. ![selection_005](https://cloud.githubusercontent.com/assets/444455/10652949/f22e45bc-785a-11e5-9d65-f96d3518f507.png)\r\n\r\nMy installation is following the instructions on [Drupal Console](http://drupalconsole.com/) website.\r\n\r\nWhen I did the above PhpStorm found 17 commands, same as when running \"drupal list\" in the terminal outside a drupal site installation, and automatically generated an editable .xml file:\r\n\r\n![selection_006](https://cloud.githubusercontent.com/assets/444455/10653020/a4dd1b0c-785b-11e5-94e1-73c36bbd345a.png)\r\n\r\nYou need to Apply before the .xml can be opened.\r\n\r\nI haven't done much testing how well this works yet, but this is a good start."}}