Comments (3)
Yes, in 2.2.3 we partially modernized the setup script/config removing data_files from setup.py
:
setuptools.setup(
- data_files=[
- (
- "etc/jupyter/jupyter_server_config.d",
- ["jupyter_lsp/etc/jupyter-lsp-jupyter-server.json"],
- ),
- (
- "etc/jupyter/jupyter_notebook_config.d",
- ["jupyter_lsp/etc/jupyter-lsp-notebook.json"],
- ),
- ],
)
and adding it in setup.cfg
(still not pyproject.toml
, but some progress):
+ [options.data_files]
+ etc/jupyter/jupyter_server_config.d = jupyter_lsp/etc/jupyter-lsp-jupyter-server.json
Now, you can see that jupyter-lsp-notebook.json
is no longer there, only jupyter-lsp-jupyter-server.json
. This is because we no longer support the old notebook
server and require a modern jupyter-server
.
The fact that jupyter_lsp/etc/jupyter-lsp-notebook.json
was not deleted appears to be an omission. I think we should simply remove it in the next patch release.
from jupyterlab-lsp.
Oh, I see. I thought that both JSONs are the same but you are right that the jupyter-lsp-jupyter-server.json
is still installed in the same location. Thank you for the quick reply.
We can keep this open as a reminder to remove the old JSON.
from jupyterlab-lsp.
jupyter-lsp 2.2.4 should have solved it, please reopen if there is still a problem. Thanks!
from jupyterlab-lsp.
Related Issues (20)
- Markdown cells generate a lot of errors in browser logs and seem to block other extensions, like jupyterlab-spellchecker HOT 2
- GitHub release artifacts are not separate for jupyter-lsp and jupyterlab-lsp HOT 1
- Code Jump only in the same notebook HOT 4
- Plugin has no transformers yet. HOT 2
- JSON completion introduces unexpected character HOT 1
- Environment variables set for lsp servers leak into the server/kernel
- Define custom code extractors in settings HOT 4
- getting this error about `jupyter_lsp` HOT 2
- Auto completion do not need to click `Tab` HOT 2
- Renaming symbol empties all raw cells
- Whether to support monaco-editor using jupyterlab-lsp to implement multiple cells HOT 2
- No methods to use Tab instead of Enter to accept a suggestion in Jupyter LSP Code Completion? HOT 2
- Support basedpyright
- Support for the rename based on the whole project directory HOT 1
- Support for highlighting code by different color according to types like in VSCode HOT 1
- Completion results are not be sorted properly HOT 1
- `ruff server` and `pyright` at the same time. HOT 1
- "Servers tested with file editor" or "Servers tested with text editor" for Language servers HOT 3
- jump to definition doesn't work if code deployed in conda environment other than `base` HOT 3
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.