{"action":"created","issue":{"url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/41","labels_url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/41/comments","events_url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/41/events","html_url":"https://github.com/EWSoftware/VSSpellChecker/issues/41","id":98310370,"number":41,"title":"\"Add to Dictionary\" should add to the most local settings file","user":{"login":"breyed","id":1299073,"avatar_url":"https://avatars.githubusercontent.com/u/1299073?v=3","gravatar_id":"","url":"https://api.github.com/users/breyed","html_url":"https://github.com/breyed","followers_url":"https://api.github.com/users/breyed/followers","following_url":"https://api.github.com/users/breyed/following{/other_user}","gists_url":"https://api.github.com/users/breyed/gists{/gist_id}","starred_url":"https://api.github.com/users/breyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breyed/subscriptions","organizations_url":"https://api.github.com/users/breyed/orgs","repos_url":"https://api.github.com/users/breyed/repos","events_url":"https://api.github.com/users/breyed/events{/privacy}","received_events_url":"https://api.github.com/users/breyed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T03:41:04Z","updated_at":"2015-07-31T15:34:00Z","closed_at":null,"body":"When I click \"Add to Dictionary\" on a word, the word gets added to dictionary next to the Global Spell Checker Configuration, even if I have a solution-level configuration defined. It would be better to add to a solution-level dictionary so that it can be checked into source control.\r\n\r\nOn the topic of adding to source control, it would be good if the configuration file were kept sorted. That would minimize the number of merge conflicts on a team. Adding to the end happens to be the worst place, since any concurrent changes always end up being merges.\r\n\r\nAs a point of comparison, Android Studio's standard project structure includes user dictionaries intended for check-in, although it uses a naming convention so that each developer gets his own dictionary."},"comment":{"url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/comments/126726164","html_url":"https://github.com/EWSoftware/VSSpellChecker/issues/41#issuecomment-126726164","issue_url":"https://api.github.com/repos/EWSoftware/VSSpellChecker/issues/41","id":126726164,"user":{"login":"EWSoftware","id":10552523,"avatar_url":"https://avatars.githubusercontent.com/u/10552523?v=3","gravatar_id":"","url":"https://api.github.com/users/EWSoftware","html_url":"https://github.com/EWSoftware","followers_url":"https://api.github.com/users/EWSoftware/followers","following_url":"https://api.github.com/users/EWSoftware/following{/other_user}","gists_url":"https://api.github.com/users/EWSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/EWSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EWSoftware/subscriptions","organizations_url":"https://api.github.com/users/EWSoftware/orgs","repos_url":"https://api.github.com/users/EWSoftware/repos","events_url":"https://api.github.com/users/EWSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/EWSoftware/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T15:34:00Z","updated_at":"2015-07-31T15:34:00Z","body":"User dictionaries are associated with the dictionary, not any particular configuration file.  User dictionaries for global dictionaries are stored in the global configuration location.\r\n\r\nIf you add the dictionary to the solution or project and use a solution or project configuration file to specify the dictionary's location, it will override the global dictionary.  Any words added to the user dictionary will then be stored with the solution/project dictionary and can be checked into source control along with the dictionary being used.\r\n\r\nAs currently written, it just appends the word to the end of the file rather than rewriting the entire list.  However, it can be updated to sort and write the entire list to the file.\r\n"}}