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

LSP-ty

by sublimelsp ST4

LSP helper for ty - an extremely fast Python type checker, written in Rust.

Labels lsp, python

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

LSP-ty

This is a helper package that automatically installs and updates ty for you. ty is an extremely fast Python type checker, written in Rust.

Requirements

To use this package, you must have:

  • The LSP package
  • It's recommended to also install the LSP-json package which will provide auto-completion and validation for this package's settings.

Configuration

There are multiple ways to configure the package and the language server.

  • Global configuration: Preferences > Package Settings > LSP > Servers > LSP-ty
  • Project-specific configuration: From the Command Palette run Project: Edit Project and add your settings in:

    {
        "settings": {
            "LSP": {
                "LSP-ty": {
                    "settings": {
                        // Put your settings here
                    }
                }
            }
        }
    }