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

LSP-vue

by sublimelsp ST3

Vue support for Sublime's LSP plugin

Details

  • 3.2.0
    2.2.4
    2.0.1
  • github.​com
  • github.​com
  • 3 months ago
  • 2 hours ago
  • 6 years ago

Installs

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

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+.