VSCode's TypeScript and JavaScript support for Sublime's LSP plugin provided through vtsls.
This is an LSP wrapper around TypeScript extension bundled with VSCode. All features and performance are nearly the same. you can enjoy VSCode's typescirpt features into Sublime Text.
- Install
LSP
andLSP-vtsls
from Package Control. - For ST4: The TypeScript and React (TSX) syntaxes are built-in so no need to install anything else.
Open the configuration file using the Command Palette Preferences: LSP-vtsls Settings
command or open it from the Sublime menu.
this plugin is a wrapper for vtsls so all its configrations are supported here. you can see configration schema and customize as you want by providing those values in setting by Preferences: LSP-vtsls Settings
.
currently its supporting main commands from vtsls but you can create PR if you want something new or create an issue for it.
here is the list of all the available commands
- LSP-vtsls: Organize Imports
- LSP-vtsls: Open TS server Log
- LSP-vtsls: Reload Projects
- LSP-vtsls: Select TypeScript Version
- LSP-vtsls: Sort Imports
- LSP-vtsls: Remove Unused Imports