ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-vue

by sublimelsp ST3

Vue support for Sublime's LSP plugin

Details

  • 3.1.0
    2.2.4
    2.0.1
  • github.​com
  • github.​com
  • 2 months ago
  • 15 hours ago
  • 6 years ago

Installs

  • Total 10K
  • Win 4K
  • Mac 3K
  • Linux 2K
Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 0 3 6 3 5 5 3 3 2 2 6 6 5 0 1 0 3 1 3 5 0 0 1 2 3 4 2 7 2 1 2 3 4 1 4 2 2 6 6 4 2 0 1 0 1 1
Mac 1 0 4 3 2 1 1 2 2 2 1 3 3 1 1 0 2 5 14 1 4 0 1 2 2 2 5 3 3 0 3 1 1 2 2 1 1 0 1 0 3 2 4 1 3 1
Linux 0 0 0 3 1 1 2 2 1 1 2 1 1 3 1 2 5 2 3 2 4 0 0 3 1 2 1 1 1 5 2 2 0 2 1 2 0 3 1 1 1 3 1 4 0 2

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

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.

inlay-hints

To enable inlay hints: 1. Open the command palette and select Preferences: LSP Settings, then enable show_inlay_hints:

{
    "show_inlay_hints": true
}
  1. 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+.