{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/10496","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/10496/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/10496/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/10496/events","html_url":"https://github.com/Microsoft/vscode/issues/10496","id":171000529,"number":10496,"title":"Extension commands best practices","user":{"login":"peterjuras","id":3640638,"avatar_url":"https://avatars.githubusercontent.com/u/3640638?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjuras","html_url":"https://github.com/peterjuras","followers_url":"https://api.github.com/users/peterjuras/followers","following_url":"https://api.github.com/users/peterjuras/following{/other_user}","gists_url":"https://api.github.com/users/peterjuras/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjuras/subscriptions","organizations_url":"https://api.github.com/users/peterjuras/orgs","repos_url":"https://api.github.com/users/peterjuras/repos","events_url":"https://api.github.com/users/peterjuras/events{/privacy}","received_events_url":"https://api.github.com/users/peterjuras/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/question","name":"question","color":"E2A1C2"}],"state":"closed","locked":false,"assignee":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"assignees":[{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-13T09:02:02Z","updated_at":"2016-08-15T09:02:06Z","closed_at":"2016-08-15T09:02:06Z","body":"Hi,\r\n\r\nI have a question regarding the best practices / conventions for commands that are provided by extensions: \r\n\r\n**Should command be prefixed with a common name that identifies the extension or rather not?**\r\n\r\nIn my case I have two commands:\r\n\r\n- Sort imports\r\n- Save file without sorting imports\r\n\r\nShould I prefix them? e.g.:\r\n\r\n- sort-imports: Sort imports\r\n- sort-imports: Save file without sorting imports\r\n\r\nSorry if this is the wrong place to ask."}}
{"actor":{"display_login":"jrieken"}}