LSP-vue
Vue support for Sublime's LSP plugin
Details
Installs
- Total 9K
- Win 4K
- Mac 3K
- Linux 2K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 4 | 0 | 5 | 0 | 1 | 1 | 0 | 0 | 3 | 2 | 3 | 3 | 3 | 4 | 8 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 4 | 1 | 0 | 0 | 1 | 3 | 1 | 1 | 0 | 1 | 2 | 2 | 5 | 2 | 1 | 0 | 4 | 1 | 0 | 0 | 1 | 2 |
Mac | 2 | 2 | 1 | 1 | 1 | 1 | 3 | 0 | 0 | 5 | 1 | 0 | 2 | 2 | 6 | 1 | 2 | 1 | 4 | 1 | 1 | 1 | 4 | 2 | 1 | 1 | 0 | 2 | 1 | 2 | 2 | 2 | 1 | 0 | 1 | 2 | 0 | 1 | 3 | 1 | 1 | 2 | 2 | 1 | 2 | 4 |
Linux | 0 | 0 | 0 | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 2 | 1 | 1 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 | 2 | 0 | 0 | 2 | 4 | 1 | 0 | 4 | 1 | 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+.