Skip to content

Commit 9c871dc

Browse files
committed
Update changelog and spelling
1 parent 58748aa commit 9c871dc

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

CHANGELOG.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44

55
- features
66

7-
- The virtual document folder can be configured with `JP_LSP_VIRTUAL_DIR` or
8-
`LanguageServerManager.virtual_documents_dir`. Its default value is kept
7+
- the virtual documents' folder can be configured with `JP_LSP_VIRTUAL_DIR` or
8+
`LanguageServerManager.virtual_documents_dir`; its default value is kept
99
unchanged: _contents.root_dir_ / `.virtual_documents` ([#416])
1010

1111
[#416]: https://github.com/krassowski/jupyterlab-lsp/issues/416
1212

13-
### `@krassowski/jupyterlab-lsp 2.0.9` (???)
13+
### `@krassowski/jupyterlab-lsp 2.1.0` (???)
14+
15+
- features
16+
17+
- added "click to jump" functionality (by default using <kbd>Ctrl</kbd> modifier) ([#423])
18+
- added "jump back" command, by default activated with <kbd>Ctrl</kbd> + <kbd>o</kbd> ([#423])
1419

1520
- bug fixes
1621

@@ -21,10 +26,11 @@
2126

2227
### `@krassowski/code-jumpers 1.0.0` (???)
2328

24-
- breaking change: split away from `@krassowski/go_to_definition`, rename to `@krassowski/code-jumpers` ([#423]):
25-
- remove unused code
26-
- refactor history operations to track files and always use global location data
27-
- renames `uri` to `contents_path` to help avoid programmer issues
29+
- breaking changes
30+
- split away from `@krassowski/jupyterlab_go_to_definition`, renamed to `@krassowski/code-jumpers` ([#423]):
31+
- removed unused code
32+
- refactored history operations to track files and always use global location data
33+
- renamed `uri` to `contents_path` to help avoid programmer issues
2834
with characters requiring URI encoding ([#406])
2935

3036
[#406]: https://github.com/krassowski/jupyterlab-lsp/pull/406
@@ -121,15 +127,15 @@
121127
- rename operation status reporting got improved ([#318])
122128
- replaced the generic status icons with code check icon (coloured differently according to the status) ([#318])
123129
- added icons for all the features and their commands ([#318])
124-
- refactored the codebase with a new architecture which allows dynamic feature, document widget adapter, and code editor registration ([#318])
130+
- refactored the codebase with a new architecture which allows dynamic features, document widget adapter, and code editor registration ([#318])
125131
- the document in the connections list in the statusbar popover are now represented by easy-to-understand DocumentLocator (breadcrumbs) widget rather than an internal id ([bacc006])
126132
- syntax highlighting mode is adjusted to the language with the majority of the code in an editor ([#319])
127133
- copy diagnostics message and filter diagnostics from context menu of Diagnostic Panel ([#330])
128134

129135
- bug fixes
130136

131-
- path-autocompletion issues were resolved upstream an this release adopts these changes
132-
- missing caret and document connection icons were restored in the statusbar popover ([#318])
137+
- path-autocompletion issues were resolved upstream and this release adopts these changes
138+
- the missing caret and document connection icons were restored in the statusbar popover ([#318])
133139
- pressing "Cancel" rename during rename now correctly aborts the rename operation ([#318])
134140
- when a language server for a foreign document is not available an explanation is displayed (rather than the "Connecting..." status as before) ([4e5b2ad])
135141
- when jump target is not found a message is now shown instead of raising an exception ([00448d0])

packages/code-jumpers/src/jumpers/jumper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ export abstract class CodeJumper {
8282

8383
// protect external files from accidental edition
8484
if (is_symlink) {
85-
this.protectFromAccidentalEdition(document_widget);
85+
this.protectFromAccidentalEditing(document_widget);
8686
}
8787
})
8888
.catch(console.warn);
8989
}
9090

91-
private protectFromAccidentalEdition(document_widget: IDocumentWidget) {
91+
private protectFromAccidentalEditing(document_widget: IDocumentWidget) {
9292
let editor_widget = document_widget as IDocumentWidget<FileEditor>;
9393
editor_widget.title.label = editor_widget.title.label + ' (external)';
9494
let editor = editor_widget.content.editor;

0 commit comments

Comments
 (0)