Skip to content

Conversation

@plemarquand
Copy link
Contributor

@plemarquand plemarquand commented Sep 29, 2025

Description

A .bsp folder was considered a valid workspace folder, but the extension activation events in the package.json were not configured to search for it, meaning another valid file/folder for activation had to be present. If that was the case, then the .bsp folder would be discovered correctly, but not if it was the only file/folder in the folder that would activate the extension.

Add it to the list of valid activation file types. Also clean up this code path a bit, ignoring common folders we shouldn't search for projects.

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@plemarquand
Copy link
Contributor Author

This can be verified with a project like https://github.com/spotify/sourcekit-bazel-bsp/tree/main/Example

@plemarquand plemarquand closed this Oct 2, 2025
@plemarquand plemarquand reopened this Oct 2, 2025
@plemarquand
Copy link
Contributor Author

This can be verified with a project like https://github.com/spotify/sourcekit-bazel-bsp/tree/main/Example

Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit but looks good

Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge

Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh actually @plemarquand can you rebase and add changelog entry

A .bsp folder was considered a valid workspace folder, but the extension
acitvation events in the package.json were not configured to search for
it, meaning another valid file/folder for activation had to be present.
If that was the case, then the .bsp folder would be discovered
correctly, but not if it was the only file/folder in the folder that
would activate the extension.

Add it to the list of valid activation file types. Also clean up this
code path a bit, ignoring common folders we shouldn't search for
projects.
@plemarquand
Copy link
Contributor Author

@award999 done

@plemarquand plemarquand merged commit 5ec4e94 into swiftlang:main Nov 3, 2025
25 checks passed
@award999 award999 moved this to Needs Verification in Swift Extension for Visual Studio Code Nov 3, 2025
@award999 award999 added the needs verification Issue has been fixed, but requires verification before closing label Nov 3, 2025
@award999
Copy link
Contributor

Verified with 5aa6783

@award999 award999 removed the needs verification Issue has been fixed, but requires verification before closing label Nov 10, 2025
@award999 award999 moved this from Needs Verification to Done in Swift Extension for Visual Studio Code Nov 10, 2025
ayroblu added a commit to ayroblu/nvim-lspconfig that referenced this pull request Nov 15, 2025
ayroblu added a commit to ayroblu/nvim-lspconfig that referenced this pull request Nov 15, 2025
ayroblu added a commit to ayroblu/nvim-lspconfig that referenced this pull request Nov 15, 2025
justinmk pushed a commit to neovim/nvim-lspconfig that referenced this pull request Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants