Skip to content

Commit 02e475f

Browse files
committed
Rename refactored "jupyterlab-go-to-definition" to "code-jumpers"
1 parent 6a4b4fe commit 02e475f

File tree

20 files changed

+16
-128
lines changed

20 files changed

+16
-128
lines changed

.github/workflows/job.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
run: jlpm test
149149

150150
# js_cov_packages:
151-
# - jupyterlab-go-to-definition
151+
# - code-jumpers
152152
# - jupyterlab-lsp
153153

154154
#- task: PublishTestResults@2

packages/code-jumpers/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code Jumpers
2+
3+
Implementation underlying the jump to definition functionality in [JupyterLab-LSP](https://github.com/krassowski/jupyterlab-lsp).

packages/jupyterlab-go-to-definition/src/history.ts renamed to packages/code-jumpers/src/history.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IGlobalPosition } from './jump';
1+
import { IGlobalPosition } from './positions';
22
import { IModelDB, IObservableUndoableList } from '@jupyterlab/observables';
33
import { JSONValue } from '@lumino/coreutils';
44

packages/code-jumpers/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { CodeJumper } from './jumpers/jumper';
2+
import { NotebookJumper } from './jumpers/notebook';
3+
import { FileEditorJumper } from './jumpers/fileeditor';
4+
5+
export {CodeJumper, NotebookJumper, FileEditorJumper};

packages/jupyterlab-go-to-definition/src/jumpers/fileeditor.ts renamed to packages/code-jumpers/src/jumpers/fileeditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FileEditor } from '@jupyterlab/fileeditor';
2-
import { IGlobalPosition, ILocalPosition } from '../jump';
2+
import { IGlobalPosition, ILocalPosition } from '../positions';
33
import { CodeJumper, jumpers } from './jumper';
44
import { JumpHistory } from '../history';
55
import { IDocumentManager } from '@jupyterlab/docmanager';

packages/jupyterlab-go-to-definition/src/jumpers/jumper.ts renamed to packages/code-jumpers/src/jumpers/jumper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CodeEditor } from '@jupyterlab/codeeditor';
22

3-
import { IGlobalPosition, ILocalPosition } from '../jump';
3+
import { IGlobalPosition, ILocalPosition } from '../positions';
44
import { IDocumentManager } from '@jupyterlab/docmanager';
55
import { IDocumentWidget } from '@jupyterlab/docregistry';
66
import { JumpHistory } from '../history';

0 commit comments

Comments
 (0)