@ioannisnezis/sparql-language-server
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

Fichu

A blazingly fast formatter and language server for SPARQL, written in Rust 🦀.

Getting Started

Installation

Fichu is availible on PyPi:

pipx install fichu

Or on crate.io:

cargo install fichu

You can also build it from source:

git clone https://github.com/IoannisNezis/sparql-language-server.git
cd sparql-language-server
cargo build --release

Usage

To run Fichu as formatter run:

fichu format <PATH>

To run Fichu as lanugage server run:

fichu server

This will create a language server listening on stdio.

Configuration

Fichu can be configured through a fichu.toml or fichu.yml file.

Here is the full default configuration

[format]
align_predicates = false
align_prefixes = false
separate_prolouge = true
capitalize_keywords = true
insert_spaces = true
tab_size = 2
where_new_line = true

use in web

If you want to connect from a web-based-editor, you can use this package as well.
For this purpouse this can be compiled to wasm and is availible on npm:

npm i @ioannisnezis/sparql-language-server

You will have to wrap this in a Web Worker and provide a language server client. There will be more documentation on this in the future...

Demo

In the mean time, check out the demo.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.90latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.90
0.1.80
0.1.70
0.1.60
0.1.52
0.1.40
0.1.30
0.1.23
0.1.10
0.1.00

Package Sidebar

Install

npm i @ioannisnezis/sparql-language-server

Weekly Downloads

5

Version

0.1.9

License

MIT

Unpacked Size

2.2 MB

Total Files

7

Last publish

Collaborators

  • ioannisnezis