Bug Description
When using @ mentions in Windsurf, workspace root folders defined in .code-workspace file are not available for selection. Only subfolders within those workspace roots appear in the mention dropdown.
Expected Behavior
@project-api (workspace root) should be available for mention
@project-docs (workspace root) should be available for mention
Actual Behavior
- Only subfolders like
@Controllers, @Components, @docs-subfolder are available
- Root workspace folders cannot be mentioned directly with @ symbol
Steps to Reproduce
- Create a multi-folder workspace with
.code-workspace file
- Define multiple folders in workspace configuration
- Try to use @ mention system in Windsurf chat
- Observe that only subfolders are available, not workspace roots
Workspace Configuration Example
{
"folders": [
{ "path": "." },
{ "path": "../related-project" }
],
"settings": {}
}
Environment
OS: Windows
Windsurf Version: Latest
Workspace Type: Multi-folder workspace
Impact
This limitation makes it difficult to reference entire workspace roots in conversations, forcing users to mention specific subfolders instead of the logical workspace units. This reduces the effectiveness of the @ mention system for multi-workspace projects.
Use Case
In projects with multiple related repositories (like api-project and documentation-project), users need to reference the entire workspace root to discuss cross-repository topics or when asking for general analysis of a complete workspace.
Additional Context
The workspace configuration correctly loads both folders, and they are visible in the file explorer. However, the @ mention system only recognizes subdirectories within these workspace roots, not the roots themselves.
Bug Description
When using @ mentions in Windsurf, workspace root folders defined in
.code-workspacefile are not available for selection. Only subfolders within those workspace roots appear in the mention dropdown.Expected Behavior
@project-api(workspace root) should be available for mention@project-docs(workspace root) should be available for mentionActual Behavior
@Controllers,@Components,@docs-subfolderare availableSteps to Reproduce
.code-workspacefileWorkspace Configuration Example
{ "folders": [ { "path": "." }, { "path": "../related-project" } ], "settings": {} } Environment OS: Windows Windsurf Version: Latest Workspace Type: Multi-folder workspace Impact This limitation makes it difficult to reference entire workspace roots in conversations, forcing users to mention specific subfolders instead of the logical workspace units. This reduces the effectiveness of the @ mention system for multi-workspace projects. Use Case In projects with multiple related repositories (like api-project and documentation-project), users need to reference the entire workspace root to discuss cross-repository topics or when asking for general analysis of a complete workspace. Additional Context The workspace configuration correctly loads both folders, and they are visible in the file explorer. However, the @ mention system only recognizes subdirectories within these workspace roots, not the roots themselves.