We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fde14 commit ccf7a3dCopy full SHA for ccf7a3d
src/daemon/index.ts
@@ -55,7 +55,7 @@ async function checkJavaExtActivated(_context: vscode.ExtensionContext): Promise
55
if (INTERESTED_REQUESTS.has(traceEvent.type)) {
56
sendInfo("", {
57
name: "lsp",
58
- kind: traceEvent.type,
+ kind: escapeLspRequestName(traceEvent.type),
59
duration: Math.trunc(traceEvent.duration),
60
});
61
}
@@ -117,3 +117,10 @@ async function checkIfJavaServerCrashed(wait: number = 0/*ms*/) {
117
118
119
120
+
121
+/**
122
+ * To avoid the LSP request name get redacted.
123
+ */
124
+function escapeLspRequestName(name: string) {
125
+ return name.replace(/\//g, "-")
126
+}
0 commit comments