Skip to content

detach workspace-d initialization from activePlugin call #83

Description

@WebFreak001

workspace-d should only initialize when there is either

  • a dub.json/dub.sdl in the project root (or package.json looking like dub package)
  • a command ran requiring workspace-d
  • settings contain fsworkspace additional import paths & project is not a dub project / dub is disabled

basically just lazy load it when its required or the open folder is guaranteed a dub project. Initialization of single files and non-dub projects is quick anyway.

Some code-d commands not using workspace-d have long startup times otherwise

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions