jsoniq-jupyter-lsp

jsoniq-jupyter-lsp
is a Python package that provides a language server setup for the JSONiq programming language. This package includes the necessary configuration to enable JSONiq to work seamlessly with the JupyterLab Language Server Protocol (LSP) extension, offering rich language features to users of JupyterLab.
Features
- Language Server for JSONiq: Implements the Language Server Protocol (LSP) for JSONiq.
- JupyterLab Integration: Configures JupyterLab to recognize and use the JSONiq language server.
- Rich Language Features: Provides autocompletion, diagnostics, and other language features for JSONiq in JupyterLab.
Installation
You can install the jsoniq-jupyter-lsp
package using pip:
pip install jsoniq-jupyter-lsp
Usage
To use the JSONiq language server in JupyterLab, follow these steps:
-
Install JupyterLab and the JupyterLSP extension:
pip install 'jupyterlab>=4.1.0,<5.0.0a0' jupyterlab-lsp
-
Install the jsoniq-jupyter-lsp
package:
pip install jsoniq-jupyter-lsp
-
Start JupyterLab:
jupyter lab
-
Open a JSONiq file: Open a .jq
or .ipynb
file in JupyterLab to start using the language server features.
Configuration
By default, jsoniq-jupyter-lsp
will be automatically configured to work with JupyterLab. However, you can customize the configuration if needed.
Contributing
We welcome contributions to the jsoniq-jupyter-lsp
project! If you have any suggestions, bug reports, or pull requests, please feel free to subapache them on the GitHub repository.
Development Setup
-
Clone the repository:
git clone https://github.com/DavidBuzatu-Marian/JSONiq-JupyterLabLSP.git
cd jsoniq-jupyter-lsp
-
Create a virtual environment:
python -m venv
source venv/bin/activate
-
Install the package in development mode:
pip install -e .
License
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.