{"action":"created","issue":{"url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/63","repository_url":"https://api.github.com/repos/axyr/silverstripe-ideannotator","labels_url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/63/comments","events_url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/63/events","html_url":"https://github.com/axyr/silverstripe-ideannotator/issues/63","id":151796309,"number":63,"title":"Option to generate external file instead of modifying existing files","user":{"login":"hailwood","id":709773,"avatar_url":"https://avatars.githubusercontent.com/u/709773?v=3","gravatar_id":"","url":"https://api.github.com/users/hailwood","html_url":"https://github.com/hailwood","followers_url":"https://api.github.com/users/hailwood/followers","following_url":"https://api.github.com/users/hailwood/following{/other_user}","gists_url":"https://api.github.com/users/hailwood/gists{/gist_id}","starred_url":"https://api.github.com/users/hailwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailwood/subscriptions","organizations_url":"https://api.github.com/users/hailwood/orgs","repos_url":"https://api.github.com/users/hailwood/repos","events_url":"https://api.github.com/users/hailwood/events{/privacy}","received_events_url":"https://api.github.com/users/hailwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T05:35:04Z","updated_at":"2016-04-29T06:42:43Z","closed_at":null,"body":"This one's an idea I'm floating rather than an issue - \r\nThoughts on optionally generating an `idehelper.php` stub file rather than writing directly to the files?\r\n\r\nWe would make it an optional config flag as it does introduce a few quirks - e.g. All annotated classes will show the \"Duplicate class declaration\" inspection - but it would work well if you want to generate the annotations for a composer managed package. It could even be set on the enabled_modules and done on a per modules basis\r\n\r\nThe idea is the same as the laravel-ide-helper so we'd end up with one file that contains a bunch of stubs.\r\n\r\n```php\r\n/**\r\n * Generated Doc Block\r\n */\r\nclass MyDataobject{}\r\n\r\n/**\r\n * Generated Doc Block\r\n */\r\nclass AnotherDataobject{}\r\n```"},"comment":{"url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/comments/215638556","html_url":"https://github.com/axyr/silverstripe-ideannotator/issues/63#issuecomment-215638556","issue_url":"https://api.github.com/repos/axyr/silverstripe-ideannotator/issues/63","id":215638556,"user":{"login":"axyr","id":345155,"avatar_url":"https://avatars.githubusercontent.com/u/345155?v=3","gravatar_id":"","url":"https://api.github.com/users/axyr","html_url":"https://github.com/axyr","followers_url":"https://api.github.com/users/axyr/followers","following_url":"https://api.github.com/users/axyr/following{/other_user}","gists_url":"https://api.github.com/users/axyr/gists{/gist_id}","starred_url":"https://api.github.com/users/axyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axyr/subscriptions","organizations_url":"https://api.github.com/users/axyr/orgs","repos_url":"https://api.github.com/users/axyr/repos","events_url":"https://api.github.com/users/axyr/events{/privacy}","received_events_url":"https://api.github.com/users/axyr/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T06:42:43Z","updated_at":"2016-04-29T06:42:43Z","body":"and that will break ctrl + click to go the class..\r\nWhy would one want to have its docblocks in a seperate file?"}}