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
  • 4 weeks ago
  • 1 week ago
  • 6 years ago

Installs

  • Total 9K
  • Win 4K
  • Mac 3K
  • Linux 2K
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7
Windows 6 6 4 2 0 1 0 1 1 4 1 2 1 0 3 3 3 1 4 1 0 4 2 4 1 1 2 1 0 3 4 2 3 3 2 2 4 3 1 1 3 2 3 3 4 2
Mac 0 1 0 3 2 4 1 3 1 2 4 0 1 1 4 1 3 4 3 1 3 2 6 8 2 6 2 0 2 1 0 0 0 0 2 3 0 2 4 8 1 0 3 1 0 9
Linux 0 1 1 1 3 1 4 0 2 3 1 1 2 0 0 1 4 1 0 0 0 2 0 3 2 4 1 2 3 0 2 5 0 2 1 1 1 2 3 2 2 1 1 0 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+.