Skip to content

Commit bbb984a

Browse files
authored
Fix equality check of text documents to resolve inactive region highlights not being displayed (clangd#515)
Also add tests for InactiveRegionsFeature, including a test for the bug being fixed here
1 parent cee0726 commit bbb984a

File tree

7 files changed

+535
-44
lines changed

7 files changed

+535
-44
lines changed

.vscode/launch.json

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
// A launch configuration that compiles extension and opens it inside a new window.
22
{
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"configurations": [
55
{
66
"name": "Launch Extension",
77
"type": "extensionHost",
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
1010
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11-
"stopOnEntry": false,
1211
"sourceMaps": true,
13-
"outFiles": [ "${workspaceRoot}/out/src/**/*.js" ],
14-
"preLaunchTask": "npm"
12+
"outFiles": [ "${workspaceRoot}/out/**/*.js" ],
13+
"preLaunchTask": "npm: compile"
1514
},
1615
{
1716
"name": "Launch Tests",
1817
"type": "extensionHost",
1918
"request": "launch",
2019
"runtimeExecutable": "${execPath}",
21-
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
22-
"stopOnEntry": false,
20+
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--disable-extensions", "--extensionTestsPath=${workspaceRoot}/out/test" ],
2321
"sourceMaps": true,
24-
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
25-
"preLaunchTask": "npm"
22+
"outFiles": [ "${workspaceRoot}/out/**/*.js" ],
23+
"preLaunchTask": "npm: test-compile"
2624
}
2725
]
2826
}

.vscode/tasks.json

-25
This file was deleted.

0 commit comments

Comments
 (0)