Skip to content

New language server option #10079

@CMLL

Description

@CMLL

Environment data

  • VS Code version: 1.42.0
  • Extension version (available under the Extensions sidebar): 2020.6.62710
  • OS and version: Ubuntu 19.04
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7.15
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
  • Relevant/affected Python packages and their versions: XXX
  • Relevant/affected Python-related VS Code extensions and their versions: XXX
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): LanguageServer
  • Value of the python.languageServer setting: 0.5.31

Expected behaviour

Setting the new python.languageServer to Microsoft and removing python.jediEnabled should use the corresponding language server.

Actual behaviour

The default value of python.jediEnabled is true so even though python.languageServer is set to Microsoft it still uses the jedi one. To ensure the microsoft one is being used, I need to still keep python.jediEnabled around which I assume is no longer intended to be needed.

Steps to reproduce:

  1. Add python.languageServer: 'Microsoft` to settings.
  2. Remove python.jediEnabled: False from settings.
  3. Reload vscode. Is now using the jedi version of the LS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions