Comments (6)
Fails to build with:
src/index.ts:97:43 - error TS2345: Argument of type 'import("~/jupyterlab-lsp/node_modules/@jupyterlab/docregistry/lib/registry").IDocumentWidget<import("~/jupyterlab-lsp/node_modules/@jupyterlab/fileeditor/lib/widget").FileEditor, import("~/jupyterlab-lsp/node_modules/@jupyterlab/docregi...' is not assignable to parameter of type 'import("~/jupyterlab-lsp/node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/docregistry/lib/registry").IDocumentWidget<import("~/jupyterlab-lsp/node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/fileeditor/lib...'.
Types of property 'content' are incompatible.
Type 'import("~/jupyterlab-lsp/node_modules/@jupyterlab/fileeditor/lib/widget").FileEditor' is not assignable to type 'import("~/jupyterlab-lsp/node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/fileeditor/lib/widget").FileEditor'.
Property 'onAfterAttach' is protected but type 'FileEditor' is not a class derived from 'FileEditor'.
97 let jumper = new FileEditorJumper(widget, documentManager);
~~~~~~
src/index.ts:119:39 - error TS2345: Argument of type 'import("~/jupyterlab-lsp/node_modules/@jupyterlab/notebook/lib/panel").NotebookPanel' is not assignable to parameter of type 'import("~/jupyterlab-lsp/node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/notebook/lib/panel").NotebookPanel'.
Property '[Printing.symbol]' is missing in type 'import("~/jupyterlab-lsp/node_modules/@jupyterlab/notebook/lib/panel").NotebookPanel' but required in type 'import("~/jupyterlab-lsp/node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/notebook/lib/panel").NotebookPanel'.
119 let jumper = new NotebookJumper(widget, documentManager);
~~~~~~
node_modules/@krassowski/jupyterlab_go_to_definition/node_modules/@jupyterlab/notebook/lib/panel.d.ts:57:5
57 [Printing.symbol](): () => Promise<void>;
~~~~~~~~~~~~~~~~~
'[Printing.symbol]' is declared here.
Found 4 errors.
I'll take a look over on @krassowski/jupyterlab_go_to_definition
...
from jupyterlab-lsp.
Property 'onAfterAttach' is protected but type 'FileEditor' is not a class derived from 'FileEditor'.
Could it be a simple dependency version conflict?
from jupyterlab-lsp.
Yeah, probably a version conflict. Gave it a full go anyway (passes acceptance tests locally).
I won't even bother to PR, as we won't know more until later but here's a binder:
Probably worth at least taking a spin.
So again, one of the big things will be adopting lerna so that packages can be split up... perhaps it will become appropriate to move the jump in as well.
from jupyterlab-lsp.
Gave it a go on binder, everything seemed cool. I'll keep this open until we figure out what our version pins actually need to be...
from jupyterlab-lsp.
lab 1.2 is out:
- https://pypi.org/project/jupyterlab/1.2.0/#files
- https://anaconda.org/conda-forge/jupyterlab/files?version=1.2.0
I guess I'd like to see the integrity stuff from #79 land before going after that. If we want to claim back-compat with the 1.1 line, we'd probably need to add a test excursion for it... but probably not a whole extra matrix dimension.
from jupyterlab-lsp.
Thanks for the work here, closing as we are on 1.2 for a long time. We will need a similar one for 2.0 soon
from jupyterlab-lsp.
Related Issues (20)
- Support for Autocomplete in JupyterLab Real-Time Collaboration (RTC) Environment HOT 1
- Feature request: GitLab Duo Code Suggestions via gitlab-lsp HOT 2
- Coverage calculation has degraded? HOT 5
- What is "python-markdown" and how to install it? HOT 15
- Autocomplete with remote kernels HOT 6
- custom --jp-editor-mirror-lsp-highlight-background-color value HOT 3
- Completion failure on `itemWidthHeuristic` when `item.type` is missing
- Unable to set pyright settings through overrides.json5 HOT 2
- Several inconsistencies found, trying to configure pylsp HOT 16
- Follow the XDG base directory specification for the .virtual_documents folder
- Only one "Code Completion" settings seen when enabling "Continuous hinting" HOT 2
- pycodestyle false positive HOT 2
- Is @krassowski/jupyterlab-lsp still need to be installed? HOT 1
- Acceptance tests are failing on Windows with Python 3.8 (but pass with Python 3.11) HOT 2
- Need to update mitigation of file editors `extensionFactory` issue before release
- IHaskell + HLS support HOT 2
- Consider using the `bin` field from `package.json` for specs derived from `NodeModuleSpec`
- Jupyterlab-lsp Error: Uncaught Exception GET /lsp/ws/pyls (::1) HOT 5
- jupyter_lsp - different location of jupyter-lsp-notebook.json between 2.2.2 and 2.2.3 HOT 3
- Markdown cells generate a lot of errors in browser logs and seem to block other extensions, like jupyterlab-spellchecker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-lsp.