Skip to content

onDidChangeFolders stopped emitting events #1944

@Joannis

Description

@Joannis

Describe the bug
Releases after 2.11 stopped emitting events through onDidChangeFolders. In our Embedded Linux extension, which builds off this extension, we're leveraging this hook to detect Swift workspaces.

2.11 worked fine, but releases after that are only emitting the pluginsUpdated event, but not any workspaceStateUpdated, add or focus events.

Environment

  • OS: macOS 26.1
  • Swift version: 6.2.1
  • Visual Studio Code version: 1.106.0
  • vscode-swift version: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions