{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/56078","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/56078/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/56078/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/56078/events","html_url":"https://github.com/Microsoft/vscode/issues/56078","id":349099768,"node_id":"MDU6SXNzdWUzNDkwOTk3Njg=","number":56078,"title":"Snippets with same Keybindings but different `langID`","user":{"login":"anishmittal2020","id":42092626,"node_id":"MDQ6VXNlcjQyMDkyNjI2","avatar_url":"https://avatars1.githubusercontent.com/u/42092626?v=4","gravatar_id":"","url":"https://api.github.com/users/anishmittal2020","html_url":"https://github.com/anishmittal2020","followers_url":"https://api.github.com/users/anishmittal2020/followers","following_url":"https://api.github.com/users/anishmittal2020/following{/other_user}","gists_url":"https://api.github.com/users/anishmittal2020/gists{/gist_id}","starred_url":"https://api.github.com/users/anishmittal2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishmittal2020/subscriptions","organizations_url":"https://api.github.com/users/anishmittal2020/orgs","repos_url":"https://api.github.com/users/anishmittal2020/repos","events_url":"https://api.github.com/users/anishmittal2020/events{/privacy}","received_events_url":"https://api.github.com/users/anishmittal2020/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T12:08:38Z","updated_at":"2018-08-09T12:08:38Z","closed_at":null,"author_association":"NONE","body":"- VSCode Version:1.25\r\n- OS Version:Ubuntu 18.04\r\n\r\nSteps to Reproduce:\r\nI have created 2 snippets as follows defined in markdown.json and python.json:\r\n```\r\n    {\r\n        \"key\": \"alt+q\",\r\n        \"command\": \"editor.action.insertSnippet\",\r\n        \"when\": \"editorTextFocus\",\r\n        \"args\": {\r\n          \"langId\": \"python\",\r\n          \"name\": \"Initialize\"\r\n        },\r\n    },\r\n    {\r\n        \"key\": \"alt+q\",\r\n        \"command\": \"editor.action.insertSnippet\",\r\n        \"when\": \"editorTextFocus\",\r\n        \"args\": {\r\n          \"langId\": \"markdown\",\r\n          \"name\": \"InitializeAll\"\r\n        },\r\n    },\r\n```\r\nNow in the keybindings.json, which of these 2 appear later gets recognized irrespective if my editor language is set to python or markdown.\r\n\r\n\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n"}}
{"actor":{"display_login":"anishmittal2020"}}