{"action":"created","issue":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/399","labels_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/399/comments","events_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/399/events","html_url":"https://github.com/retailcoder/Rubberduck/issues/399","id":69870261,"number":399,"title":"Project should have a name","user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/code-inspections","name":"code-inspections","color":"DDDDDd"},{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/easy-fix","name":"easy-fix","color":"009800"},{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/source-control-integration","name":"source-control-integration","color":"DDDDDd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-21T15:00:40Z","updated_at":"2015-05-19T18:56:59Z","closed_at":null,"body":"Per #157, a VBProject that's called `VBAProject` is going to be problematic for the source control feature.\r\n\r\nLet's implement an inspection that looks at project names and issues a warning for all projects that have the default `VBAProject` name. Something like..\r\n\r\n    declarations.Where(d => d.DeclarationType == DeclarationType.Project \r\n                         && d.IdentifierName == \"VBAProject\") // hard-code?\r\n\r\nUsing the `Declarations` API will return `Declaration` objects that can be directly passed as targets to the *rename* refactoring for an easily implemented quick-fix, so renaming the project will automatically update all in-code references to it."},"comment":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/comments/103632548","html_url":"https://github.com/retailcoder/Rubberduck/issues/399#issuecomment-103632548","issue_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/399","id":103632548,"user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T18:56:59Z","updated_at":"2015-05-19T18:56:59Z","body":"I find requiring the user to save their Office document somewhere is fair enough of a restriction to impose; it would move the problem from `VBProject.Name` to `VBProject.Filename`, and the latter can only be unique on a given computer. The only thing is that you can no longer have a repository for a project that you didn't save somewhere, which I would have no problem with as a user."}}