pylance-release VS nvim-lspconfig

Compare pylance-release vs nvim-lspconfig and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pylance-release nvim-lspconfig
50 523
1,655 9,516
0.7% 4.3%
9.0 9.7
4 days ago 4 days ago
Python Lua
Creative Commons Attribution 4.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pylance-release

Posts with mentions or reviews of pylance-release. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Open source versus Microsoft: The new rebellion begins
    2 projects | news.ycombinator.com | 15 Apr 2024
    One of the things that comes to mind here is the fact that the default Python extension for VS Code is, perhaps surprisingly to many, not open source. https://github.com/microsoft/pylance-release

    While it's possible to fork VS Code, it is not possible to fork VS Code and provide a seamless onramp towards a Python editing experience that is fully open source, because users are used to the nuances of the closed-source Pylance experience in VS Code proper. You could use the minified/compiled Pylance plugin in your fork, but you'd have no way to expand its capabilities to new hooks your fork provides. Microsoft's development process would always be able to move faster than a fork, because it could coordinate VS Code internal API development with its internal Pylance team, and could become incompatible with forks at any time.

    It's worth re-reading the quote from J Allard in https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis... with this modern example in mind.

    (Also worth mentioning https://github.com/detachhead/basedpyright?tab=readme-ov-fil... which is a heroic effort to derisk this, but it's an uphill battle for sure!)

  • Help! Connection to server got closed error
    1 project | /r/vscode | 7 Dec 2023
  • Pylance is not working on my vscode
    1 project | /r/vscode | 25 Aug 2023
    Anyone know how can we fix this issue if we build the vscode locally
  • VSCode adding exactly one space to all my new lines??
    1 project | /r/vscode | 23 Jun 2023
    Do any of these issue tickets explain the behaviour you're seeing? https://github.com/microsoft/pylance-release/issues/4341, https://github.com/microsoft/pylance-release/issues/4071
  • Pylance: String literal is unterminated
    1 project | /r/vscode | 9 Jun 2023
  • What do you expect when renaming an import?
    1 project | /r/Python | 24 May 2023
  • Writing Python like it's Rust
    10 projects | news.ycombinator.com | 21 May 2023
    Maybe they "are the same thing" in terms of behavior (I don't know), but "A uses B" doesn't mean that "A is B".

    One important difference in this case is that while "Pylance leverages Microsoft's open-source static type checking tool, Pyright" [1], Pylance itself is not open source. In fact, the license [2] restricts you to "use [...] the software only with [...] Microsoft products and services", which means that you are not allowed to use it with a non-Microsoft open source fork of VS Code, for example.

    The license terms also say that by accepting the license, you agree that "The software may collect information about you and your use of the software, and send that to Microsoft" and that "You may opt-out of many of these scenarios, but not all".

    [1] https://github.com/microsoft/pylance-release

    [2] https://marketplace.visualstudio.com/items/ms-python.vscode-...

  • Any must-have extensions for working with Python in VSCode/VSCodium?
    1 project | /r/Python | 14 May 2023
    There's this one: https://github.com/microsoft/pylance-release/issues/4174 (rules don't apply properly, and ovverrides don't work even after being set, this is especially for the more generic ones like )
  • MSFT is forcing Outlook and Teams to open links in Edge and IT admins are angry
    9 projects | news.ycombinator.com | 3 May 2023
    The example is not .NET in general, but that specific event when Microsoft reneged on open development tooling[1]. For some people, that was the moment they stopped trusting "new Microsoft" to keep their word (though for me, it was when the Python language server was replaced with a DRM-locked, LSP-noncompliant one[2] a bit before that; unlike .NET hot reload, they didn't backtrack there). I can think the company makes great open .NET tools and at the same time not trust them to close it down on a whim.

    Does anyone know where the open xlang reimplementation of MIDL went[3], by the way? (Unlike 1990s MIDL, you can't reimplement this one from the language grammar in the docs, because there is no language grammar in the docs.)

    [1] https://dusted.codes/can-we-trust-microsoft-with-open-source and links there

    [2] https://github.com/microsoft/pylance-release/issues

    [3] https://github.com/microsoft/xlang/pull/529

  • Import ... could not be resolved
    1 project | /r/learnpython | 12 Apr 2023

nvim-lspconfig

Posts with mentions or reviews of nvim-lspconfig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-03.
  • JetBrains' unremovable AI assistant meets irresistible outcry
    5 projects | news.ycombinator.com | 3 Feb 2024
    I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.

    These two plugins are the bare minimum in my view.

    https://github.com/nvim-treesitter/nvim-treesitter

    Treesitter gives you much better syntax highlighting based on a parser for a given language.

    https://github.com/neovim/nvim-lspconfig

    This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:

    https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

    For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.

    pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server

    Best of luck! Happy hacking.

  • Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
    17 projects | news.ycombinator.com | 31 Jan 2024
    Adding language support it neovim isn't very difficult once you're setup. I use nvim-lspconfig[1] and just about any language you could need is documented[2]. But like others have mentioned there are batteries included distributions of neovim if that's your cup of tea.

    [1]: https://github.com/neovim/nvim-lspconfig/

    [2]: https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

  • A guide on Neovim's LSP client
    7 projects | dev.to | 13 Jan 2024
    If we can't find the basic usage in the documentation we can go to nvim-lspconfig's github repository. In there we look for a folder called server_configurations, this contains configuration files for a bunch of language servers.
  • Do I need NeoVIM?
    11 projects | /r/neovim | 7 Dec 2023
    https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
  • cpp setting problem
    4 projects | /r/neovim | 6 Dec 2023
    This specific issue talks about fixing clangd for that error: https://github.com/neovim/nvim-lspconfig/issues/2184. The issue is ongoing for ccls AFAIK but for clangd, this has been discussed and fixed in the past already.
  • Need help to set up the pbkit language server
    2 projects | /r/neovim | 21 Sep 2023
    I am trying to set up the pbkit language server for protobuf files. Since it is not part of the nvim-lspconfig repo's server configurations, I have to figure the way out myself. It doesn't seem to be too difficult, as I can start from the bufls configuration there. The following is what I have at the moment:
  • Option omnifunc is not set
    1 project | /r/neovim | 31 Aug 2023
    I have configured neovim with lspconfig and mason. Added the suggested configuration of the lsp config(https://github.com/neovim/nvim-lspconfig) to ~/.config/nvim/after/plugin/lsp.lua Then I installed via mason the following language servers:
  • Using nvim-lint as a null-ls alternative for linters
    4 projects | /r/neovim | 14 Aug 2023
    Personally, i think nvim-lint is the best alternative currently, specially so because it has no dependencies on external binaries. This guide assumes you already have your LSP set up with nvim-lspconfig (or an alternative like lsp-zero). You should also have an way to install the linters you are gonna need, i highly recommend Mason with mason-lspconfig.
  • The Future of the Vim Project
    6 projects | news.ycombinator.com | 10 Aug 2023
    Basically neovim can act as a client to a variety of different language servers (https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...) which give neovim IDE capabilities. This can be done in original Vim also but requires external plugins which can be a pain to compile and install. Neovim has it built in.
  • SQL LSP dialect
    2 projects | /r/neovim | 4 Aug 2023
    I'm struggling to get [sqlls](https://github.com/joe-re/sql-language-server) with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) to use Postgres syntax.

What are some alternatives?

When comparing pylance-release and nvim-lspconfig you can also consider the following projects:

pyright - Static Type Checker for Python

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.

null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

vscodium - binary releases of VS Code without MS branding/telemetry/licensing

nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!

emacs-jedi - Python auto-completion for Emacs

nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls

neovim - Vim-fork focused on extensibility and usability

coc - Chroniques Oubliées Contemporain

intellij-community - IntelliJ IDEA Community Edition & IntelliJ Platform

ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support