vad / coc-pyright

Pyright for Vim/Neovim, works with coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coc-pyright

Pyright extension for coc.nvim

1

Install

:CocInstall coc-pyright

Commands

  • pyright.organizeimports: Organize imports
  • pyright.createtypestub: Creates Type Stubs with given module name, for example :CocCommand pyright.createtypestub numpy

Configurations

  • python.analysis.autoSearchPaths: Automatically add common search paths like 'src', default: true
  • python.analysis.diagnosticMode: Analyzes and reports errors for open only or all files in workspace, default: openFilesOnly
  • python.analysis.stubPath: Path to directory containing custom type stub files, default: ""
  • python.analysis.typeshedPaths: Paths to look for typeshed modules, default: []
  • python.analysis.diagnosticSeverityOverrides: Override the severity levels for individual diagnostics, default: {}
  • python.pythonPath: Path to Python, default: python
  • python.venvPath: Path to folder with a list of Virtual Environments, default: ""
  • pyright.typeCheckingMode: Defines the default rule set for type checking, default: basic
  • pyright.disableCompletion: Disables completion only, left other LSP features work, default: false
  • pyright.disableLanguageServices: Disables type completion, definitions and references, default: false
  • pyright.disableOrganizeImports: Disables the Organize Imports command, default: false
  • pyright.typeCheckingMode: Defines the default rule set for type checking, default: basic
  • pyright.useLibraryCodeForTypes: Use library implementations to extract type information, default: false

See Pyright Settings for more configurations.

Pyright supports configuration files that provide granular control over settings. For more details, refer to the README on the Pyright GitHub site.

License

MIT


This extension is created by create-coc-extension

About

Pyright for Vim/Neovim, works with coc.nvim

License:MIT License


Languages

Language:TypeScript 64.0%Language:Shell 15.1%Language:JavaScript 14.1%Language:Python 6.7%