microsoft / TypeScript-Sublime-Plugin

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

[BUG] One line that hangs up the plugin #713

Closed Fxlr8 closed 5 years ago

Fxlr8 commented 5 years ago

somehow this line of styled-components syntax explodes everything

const Wrapper = styled.div``

after saving a file with this line I immediately see a node process with 100+% CPU usage and code hints stop working

Sublime 3: build 3200 Typescript plugin: v3.4.1 MacOS Mojave

Fxlr8 commented 5 years ago

I rolled back to 3.3.3333 release and I don't have this problem. Looks like something is wrong with the latest release.

DanielRosenwasser commented 5 years ago

We're currently tracking this at https://github.com/Microsoft/TypeScript/issues/30819.

I rolled back to 3.3.3333 release

This is fine; alternatively, you can