-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfile-globFile glob engineFile glob engineverifiedVerification succeededVerification succeeded
Milestone
Description
VSCode document selector is not working when one project name is subset of other.
The glob pattern that we use to match is $projectroot/**/* which is use to differentiate between two projects in a workspace.
let clientOptions = {
documentSelector: [{ scheme: 'file', language: 'gauge', pattern: `${folder.uri.fsPath}/**/*` }]
}
The above glob pattern seems to work with shell commands but not in VSCode
All the requests are being sent to both the language servers starting with the similar name.
Steps to Reproduce:
- Create a project with name
test. - Create an other project with name
testone. - Add both to a workspace.
- VSCode Version: 1.19.2
- OS Version: 10.13.2 (mac)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfile-globFile glob engineFile glob engineverifiedVerification succeededVerification succeeded