{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/39764","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/39764/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/39764/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/39764/events","html_url":"https://github.com/Microsoft/vscode/issues/39764","id":279665955,"number":39764,"title":"Typescript React (tsx) language id?","user":{"login":"tomitrescak","id":2682705,"avatar_url":"https://avatars2.githubusercontent.com/u/2682705?v=4","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"labels":[{"id":291055694,"url":"https://api.github.com/repos/Microsoft/vscode/labels/typescript","name":"typescript","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-12-06T08:27:36Z","updated_at":"2017-12-06T10:01:48Z","closed_at":"2017-12-06T10:01:48Z","author_association":"NONE","body":"<!-- Do you have a question? Please ask it on http://stackoverflow.com/questions/tagged/vscode. -->\r\n\r\nWhen using code lens, it is never activated in .tsx files. It only activates for .ts files.\r\n\r\n<!-- Use Help > Report Issues to prefill these. -->\r\n- VSCode Version: 1.18.1\r\n- OS Version: High Sierra Mac\r\n\r\nSteps to Reproduce:\r\n\r\n```js\r\n  class SnapshotCodeLensProvider implements vscode.CodeLensProvider {\r\n    provideCodeLenses(document: vscode.TextDocument, token: vscode.CancellationToken) {\r\n      debugger; // will never be hit\r\n    }\r\n  }\r\n\r\n  context.subscriptions.push(\r\n    vscode.languages.registerCodeLensProvider(\r\n      [\r\n        {\r\n          language: 'typescript',\r\n          scheme: 'file'\r\n        }\r\n      ],\r\n      new SnapshotCodeLensProvider()\r\n    )\r\n  );\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"tomitrescak"}}