LSP-vue
Vue support for Sublime's LSP plugin
Details
Installs
- Total 10K
- Win 4K
- Mac 3K
- Linux 3K
Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 5 | 3 | 0 | 0 | 2 | 4 | 1 | 4 | 4 | 1 | 2 | 0 | 6 | 1 | 6 | 1 | 2 | 2 | 2 | 3 | 5 | 1 | 2 | 2 | 1 | 4 | 2 | 4 | 3 | 0 | 1 | 0 | 0 | 3 | 3 | 1 | 0 | 4 | 3 | 0 | 1 | 3 | 1 | 2 | 1 |
Mac | 1 | 1 | 3 | 1 | 1 | 3 | 0 | 2 | 2 | 2 | 4 | 0 | 3 | 2 | 0 | 3 | 0 | 2 | 1 | 2 | 1 | 2 | 0 | 0 | 2 | 2 | 0 | 5 | 3 | 0 | 6 | 1 | 1 | 1 | 0 | 2 | 2 | 1 | 1 | 0 | 3 | 2 | 1 | 1 | 3 | 2 |
Linux | 1 | 0 | 0 | 2 | 1 | 0 | 1 | 2 | 0 | 4 | 2 | 3 | 3 | 0 | 1 | 3 | 0 | 1 | 5 | 1 | 3 | 1 | 4 | 2 | 1 | 4 | 2 | 2 | 2 | 3 | 0 | 1 | 1 | 1 | 2 | 5 | 2 | 0 | 0 | 2 | 1 | 1 | 2 | 2 | 1 | 1 |
Readme
- Source
- raw.githubusercontent.com
LSP-vue
This is a helper package that automatically installs and updates the Vue Language Server (formerly Volar) for you.
Table of Contents
Installation
- Install LSP, Vue Syntax Highlight and LSP-vue from Package Control.
- Restart Sublime.
Configuration
Open the configuration file using Command Palette with Preferences: LSP-vue Settings
command or opening it from the Sublime menu (Preferences > Package Settings > LSP > Servers > LSP-vue
).
Inlay hints
Inlay hints are short textual annotations that show parameter names, type hints.
To enable inlay hints:
1. Open the command palette and select Preferences: LSP Settings
, then enable show_inlay_hints
:
{
"show_inlay_hints": true
}
- Modify the following settings through
Preferences: LSP-vue Settings
:
{
"settings": {
// javascript inlay hints options.
"javascript.inlayHints.enumMemberValues.enabled": false,
"javascript.inlayHints.functionLikeReturnTypes.enabled": false,
"javascript.inlayHints.parameterNames.enabled": "none",
"javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
"javascript.inlayHints.parameterTypes.enabled": false,
"javascript.inlayHints.propertyDeclarationTypes.enabled": false,
"javascript.inlayHints.variableTypes.enabled": false,
// typescript inlay hints options.
"typescript.inlayHints.enumMemberValues.enabled": false,
"typescript.inlayHints.functionLikeReturnTypes.enabled": false,
"typescript.inlayHints.parameterNames.enabled": "none",
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
"typescript.inlayHints.parameterTypes.enabled": false,
"typescript.inlayHints.propertyDeclarationTypes.enabled": false,
"typescript.inlayHints.variableTypes.enabled": false,
}
}
NOTE: Inlay hints require TypeScript 4.4+.