{"action":"created","issue":{"url":"https://api.github.com/repos/php-integrator/atom-base/issues/398","repository_url":"https://api.github.com/repos/php-integrator/atom-base","labels_url":"https://api.github.com/repos/php-integrator/atom-base/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/php-integrator/atom-base/issues/398/comments","events_url":"https://api.github.com/repos/php-integrator/atom-base/issues/398/events","html_url":"https://github.com/php-integrator/atom-base/issues/398","id":320391985,"number":398,"title":"Support creating new classlikes from the file browser","user":{"login":"Gert-dev","id":24809863,"avatar_url":"https://avatars0.githubusercontent.com/u/24809863?v=4","gravatar_id":"","url":"https://api.github.com/users/Gert-dev","html_url":"https://github.com/Gert-dev","followers_url":"https://api.github.com/users/Gert-dev/followers","following_url":"https://api.github.com/users/Gert-dev/following{/other_user}","gists_url":"https://api.github.com/users/Gert-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/Gert-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gert-dev/subscriptions","organizations_url":"https://api.github.com/users/Gert-dev/orgs","repos_url":"https://api.github.com/users/Gert-dev/repos","events_url":"https://api.github.com/users/Gert-dev/events{/privacy}","received_events_url":"https://api.github.com/users/Gert-dev/received_events","type":"User","site_admin":false},"labels":[{"id":276143922,"url":"https://api.github.com/repos/php-integrator/atom-base/labels/enhancement","name":"enhancement","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T19:04:01Z","updated_at":"2018-05-05T01:03:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Creating PHP files by entering the namespace manually becomes cumbersome quickly. We can automatically fill out the namespace based on the folder hierarchy, although where it starts depends on the project (i.e. it could be configured in `composer.json`).\r\n\r\nWe do want to avoid tying ourselves to Composer unless absolutely necessary, IIRC PhpStorm has a way to mark a project folder as namespace root via the file browser."},"comment":{"url":"https://api.github.com/repos/php-integrator/atom-base/issues/comments/386768149","html_url":"https://github.com/php-integrator/atom-base/issues/398#issuecomment-386768149","issue_url":"https://api.github.com/repos/php-integrator/atom-base/issues/398","id":386768149,"user":{"login":"twifty","id":11319780,"avatar_url":"https://avatars3.githubusercontent.com/u/11319780?v=4","gravatar_id":"","url":"https://api.github.com/users/twifty","html_url":"https://github.com/twifty","followers_url":"https://api.github.com/users/twifty/followers","following_url":"https://api.github.com/users/twifty/following{/other_user}","gists_url":"https://api.github.com/users/twifty/gists{/gist_id}","starred_url":"https://api.github.com/users/twifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twifty/subscriptions","organizations_url":"https://api.github.com/users/twifty/orgs","repos_url":"https://api.github.com/users/twifty/repos","events_url":"https://api.github.com/users/twifty/events{/privacy}","received_events_url":"https://api.github.com/users/twifty/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T01:03:52Z","updated_at":"2018-05-05T01:03:52Z","author_association":"NONE","body":"I created a package [templar](https://atom.io/packages/templar) to do something similar. Updating it is on my todo list, but it allows for creating classes/traits/interfaces from a user defined template and is able to populate the namesapce based on the directory structure. May be worth a look."}}
{"actor":{"display_login":"twifty"}}