Skip to content

Support multiroot workspaces with the VS Analysis Engine #1149

Description

How does this analysis engine work with a multi root workspace?
E.g. workspace folder A & B contain two separate versions of Python.
Will we have only one analysis engine or two, will they all use the same version of python?

So far VS project has same interpreter. But not per folder. However, solution can have multiple projects with different interpreters.

Activity

  1. MikhailArkhipov commented on Mar 30, 2018

    @MikhailArkhipov
    Author

    VSC can automatically run multiple language servers (one per workspace root). Just need to verify.

  2. removed this from the June 2018 milestone on Jun 4, 2018
  3. changed the title [-]Figure out how to handle multiroot workspace with the VS Analysis Engine[/-] [+]Support multiroot workspaces with the VS Analysis Engine[/+] on Oct 9, 2018
  4. DonJayamanne commented on Oct 24, 2018

    @DonJayamanne

    Based on my initial investigation this is most certainly possible within the Extension.
    Lazy load instances for the workspaces, instead of loading multiple instances for each workspace folder in a multiroot workspace.

  5. brettcannon commented on Oct 31, 2018

    @brettcannon
    Member

    This should only lazily load an instance of the language server based on whether a workspace has actually opened a Python file (and set the interpreter).

  6. locked as resolved and limited conversation to collaborators on Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityneeds proposalNeed to make some design decisions

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions