sourcegraph / javascript-typescript-langserver

JavaScript and TypeScript code intelligence through the Language Server Protocol
https://sourcegraph.com
Apache License 2.0
793 stars 72 forks source link

Missing autocomplete hints #634

Open tsujp opened 4 years ago

tsujp commented 4 years ago

In VSCode if I did the following

type TupleTest = [string, string]
const foo: TupleTest = ['one', 'two']

and then were typing such that I was midway through typing foo. VSCode would popup with push() and pop() etc but crucially (property) 0: string and (property) 1: string.

There are no such popups at all with Sublime Text using this langserver and LSP. It also does not include push() or pop() either.

VSCode shows the following, which is not shown in Sublime Text

img

tsujp commented 4 years ago

Managed to get a screenshot from Sublime Text

img

tsujp commented 4 years ago

Accidentally closed, apologies.