{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/ycmd/issues/269","labels_url":"https://api.github.com/repos/Valloric/ycmd/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/ycmd/issues/269/comments","events_url":"https://api.github.com/repos/Valloric/ycmd/issues/269/events","html_url":"https://github.com/Valloric/ycmd/pull/269","id":121314674,"number":269,"title":"Support typescript.tsx filetype for typescript completer","user":{"login":"ianks","id":3303032,"avatar_url":"https://avatars.githubusercontent.com/u/3303032?v=3","gravatar_id":"","url":"https://api.github.com/users/ianks","html_url":"https://github.com/ianks","followers_url":"https://api.github.com/users/ianks/followers","following_url":"https://api.github.com/users/ianks/following{/other_user}","gists_url":"https://api.github.com/users/ianks/gists{/gist_id}","starred_url":"https://api.github.com/users/ianks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianks/subscriptions","organizations_url":"https://api.github.com/users/ianks/orgs","repos_url":"https://api.github.com/users/ianks/repos","events_url":"https://api.github.com/users/ianks/events{/privacy}","received_events_url":"https://api.github.com/users/ianks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-09T18:55:49Z","updated_at":"2015-12-09T20:48:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Valloric/ycmd/pulls/269","html_url":"https://github.com/Valloric/ycmd/pull/269","diff_url":"https://github.com/Valloric/ycmd/pull/269.diff","patch_url":"https://github.com/Valloric/ycmd/pull/269.patch"},"body":"`typescript.tsx` is a filetype to differentiate regular `.ts` files from `.tsx`. This is necessary to disambiguate typecasting (i.e. `<String>something`) from TSX syntax (i.e. `<SomeComponent />`)\r\n\r\nThis patch just adds support for ycmd to detect the `typescript.tsx` filetype.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/269)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/Valloric/ycmd/issues/comments/163387673","html_url":"https://github.com/Valloric/ycmd/pull/269#issuecomment-163387673","issue_url":"https://api.github.com/repos/Valloric/ycmd/issues/269","id":163387673,"user":{"login":"micbou","id":10026824,"avatar_url":"https://avatars.githubusercontent.com/u/10026824?v=3","gravatar_id":"","url":"https://api.github.com/users/micbou","html_url":"https://github.com/micbou","followers_url":"https://api.github.com/users/micbou/followers","following_url":"https://api.github.com/users/micbou/following{/other_user}","gists_url":"https://api.github.com/users/micbou/gists{/gist_id}","starred_url":"https://api.github.com/users/micbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micbou/subscriptions","organizations_url":"https://api.github.com/users/micbou/orgs","repos_url":"https://api.github.com/users/micbou/repos","events_url":"https://api.github.com/users/micbou/events{/privacy}","received_events_url":"https://api.github.com/users/micbou/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T20:48:47Z","updated_at":"2015-12-09T20:48:47Z","body":"@puremourning If you are talking about issue Valloric/YouCompleteMe#1766, no because it concerns diagnostics. But I am realizing now that it cannot work when the full filetype contains a `.` for the reason you said: we are splitting on `.`. In this case, the folder should be `tsx` instead of `typescript.tsx`."}}