Skip to content

Commit d43b547

Browse files
committed
add some docs, remove some logging use of decodeURI
1 parent 2e43577 commit d43b547

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/jupyterlab-go-to-definition/src/jump.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ export interface IGlobalJump {
3737
line: number;
3838
column: number;
3939

40+
/**
41+
* The Jupyter ContentsManager path, _not_ passed through encode URI.
42+
*/
4043
contents_path: string;
4144
}

packages/jupyterlab-lsp/src/editor_integration/codemirror.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,7 @@ export abstract class CodeMirrorIntegration
281281

282282
if (!uris_equal(uri, current_uri)) {
283283
errors.push(
284-
'Workspace-wide edits not implemented (' +
285-
decodeURI(uri) +
286-
' != ' +
287-
decodeURI(current_uri) +
288-
')'
284+
`Workspace-wide edits not implemented: ${uri} != ${current_uri}`
289285
);
290286
} else {
291287
is_whole_document_edit =

0 commit comments

Comments
 (0)