Skip to content

Use main project for virtual files #794

@MichaReiser

Description

@MichaReiser

We currently always use the default project for virtual files. That's unlikely what the user expects. Instead, we should use the primary workspace and project. How we define primary is up for debate: the easiest is if there's a single workspace with a single project, we should then use those. It's less clear what the right heuristics are if there are multiple workspaces or projects. We can either use the default in those cases or always use the outer most project and workspace

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions