6 ms·
> TypeScript, JSX and TSX Support It doesn't seem like Sublime ships with the Typescript language server by default, not sure if I'd call syntax highlighting a
by babaganoosh89 5y ago
> TypeScript, JSX and TSX Support
It doesn't seem like Sublime ships with the Typescript language server by default, not sure if I'd call syntax highlighting as support.
- ben-schaaf 5y agoIt's the same support we supply for every language. Syntax highlighting drives our goto-definition, goto-symbol, auto-complete and more.
- CGamesPlay 5y agoThis is interesting. Does that mean that it's not possible to goto-definition for a file that isn't open? What about goto-definition of a file in a different module? Combining syntax highlighting and code navigation seems like a reasonable approach, I'm just curious how it works.
- ben-schaaf 5y agoGoto-definition, goto-anything and now auto-complete use the folders you have added to the project (under Project > Add Folder to Project…). We use all these things internally to navigate our (relatively large) C++ codebase.
- jeswin 5y agoFrom the announcement text, I assumed Language Server support as well. Not your fault, since you haven't mentioned it specifically. However, Language Server is way more than syntax support and a huge time saver for Typescript developers. You'll need it to attract Typescript developers, especially since your customers are likely to be advanced users.
- NoInkling 5y agoThere's a package for it at least.
- emteycz 5y agoThis repo seems to disagree: https://github.com/sublimelsp/LSP-typescript https://github.com/sublimelsp/LSP-typescript (please correct me if I am wrong, I can't test it now) Perhaps you need to install TypeScript compiler into the project? VSCode bundles that too, ST4 might not.
- hn8788 5y agoThe language server isn't included, but the syntax is.