Closed duanyao closed 8 years ago
Actually a lot of the current TS only functionality could be made available also to JS files. However if I would just handle them as regular TS files, they would be added to the build etc *the language service would think they are part of the project".
So will have to create a special JS worker that handles the intellisense for JS files. Not completely trivial, but doable and I can imagine a help to a lot of developers. So will put it on the todo list.
Good, thanks!
More flexible now. Anything that is part of a tsconfig project will benefit from outline, code completion etc.
Is it possible to show outline view of JS as well? TS is claimed to be backward-compatible with JS, so maybe it's possible to use TS language service to do this.