Skip to content

Support for multi-root workspaces#624

Open
N1ebieski wants to merge 10 commits intolaravel:mainfrom
N1ebieski:#96-Support-for-multi-root-workspaces
Open

Support for multi-root workspaces#624
N1ebieski wants to merge 10 commits intolaravel:mainfrom
N1ebieski:#96-Support-for-multi-root-workspaces

Conversation

@N1ebieski
Copy link
Copy Markdown
Contributor

@N1ebieski N1ebieski commented Mar 26, 2026

Fixes #618

General

  • Add workspace detection from vscode.window.activeTextEditor
  • Multi-root workspace support for fileWatchers

Repositories

  • Support for appBindigs
  • Support for assets
  • Support for auth
  • Support for bladeComponents
  • Support for configs
  • Support for controllers
  • Support for customBladeDirectives
  • Support for env-examples
  • Support for env
  • Support for Inertia
  • Support for Livewire (does not have separate repository)
  • Support for middlewares
  • Support for mix
  • Support for models
  • Support for paths
  • Support for Pint
  • Support for routes
  • Support for translations
  • Support for views

Other

  • Support for Test Runner

Testing

  • on Linux with multi-root workspace
  • on Linux with single workspace
  • on Linux without workspace (use basePath only)
  • on Windows with multi-root workspace
  • on Windows with single workspace
  • on Windows without workspace (use basePath only)

Hey @TitasGailius, the PR is ready for CR. A few details:

  • I tried to modify the code as little as possible.
  • I moved all workspace-related logic from /support/project.ts to a separate /support/workspace.ts file.
  • Every method that uses a workspace now has a new workspaceFolder parameter.
  • If a method can use the workspaceFolder from vscode.window.activeTextEditor, the parameter defaults to getWorkspaceFolder.
  • Otherwise, the parameter defaults to getFirstWorkspaceFolder to ensure the method continues to work as it did before.
  • I tested it manually on Windows and Linux. Unfortunately, I don't have a MacOS device.

@N1ebieski N1ebieski marked this pull request as ready for review March 28, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support for VSCode multi root workspaces

2 participants