8000 Differences to the native TypeScript server · Issue #1 · sourcegraph/vscode-javascript-typescript · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.

Differences to the native TypeScript server #1

Open
kurtextrem opened this issue Jun 17, 2017 · 5 comments
Open

Differences to the native TypeScript server #1

kurtextrem opened this issue Jun 17, 2017 · 5 comments

Comments

@kurtextrem
Copy link

May I ask what advantages you gain by using this extension?

@felixfbecker
Copy link
Contributor
felixfbecker commented Jun 17, 2017

It uses the same underlying language service APIs, but through a different protocol (the newer LSP instead of the older tsserver protocol). This is mostly to test the TS langserver used by other editors that only support LSP. Differences are very minor, for example hovers are displayed a bit differently

image

image

When VS Code gets support for it, it will also support streaming.

@kurtextrem
Copy link
Author

Cool, thank you. Is there anything you need to do after installing (e.g. disabling the native server somehow)?

@felixfbecker
Copy link
Contributor

Iirc you can disable the integrated TS support by setting "typescript.tsdk": "/dev/null"

@Y2zz
Copy link
Y2zz commented Sep 23, 2017

But I found that it would appear with duplicate code hints

@kurtextrem
Copy link
Author

You can disable integrated TS now too: https://twitter.com/sandy081/status/965891223813869569

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0