Fix for projects with brackets in their path (#429)
parent
bb5993d047
commit
8766f6d7de
|
@ -243,7 +243,7 @@ export async function activate(context: ExtensionContext) {
|
||||||
documentSelector: languages.get(folder.uri.toString()).map((language) => ({
|
documentSelector: languages.get(folder.uri.toString()).map((language) => ({
|
||||||
scheme: 'file',
|
scheme: 'file',
|
||||||
language,
|
language,
|
||||||
pattern: `${folder.uri.fsPath}/**/*`,
|
pattern: `${folder.uri.fsPath.replace(/[\[\]\{\}]/g, '?')}/**/*`,
|
||||||
})),
|
})),
|
||||||
diagnosticCollectionName: CLIENT_ID,
|
diagnosticCollectionName: CLIENT_ID,
|
||||||
workspaceFolder: folder,
|
workspaceFolder: folder,
|
||||||
|
|
Loading…
Reference in New Issue