microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

[typescript@^2.4.0] Broken autocomplete for types #612

Closed roblav96 closed 7 years ago

roblav96 commented 7 years ago

If you have typescript@^2.4.0 installed globally and use the setting typescript_tsdk, autocomplete for types does not even work.

let idk = null as number

When typing n after as, autocomplete should show for available types, but it does not.

@zhengbli I really hope this gets fixed cause it's a major feature of this plugin :X

DanielRosenwasser commented 7 years ago

Can you try using typescript@2.4.2 or typescript@next and seeing if that works? I wonder if https://github.com/Microsoft/TypeScript/issues/16610 has fixed this.

roblav96 commented 7 years ago

@DanielRosenwasser Upgrading to 2.4.2 resolves this issue =]