wikitext-lsp

1.3.6 • Public • Published

WikiParser Language Server

npm version CodeQL CI Codacy Badge

Language Server Protocol implementation for Wikitext.

Installation

You can install this via npm:

npm i -g wikitext-lsp

Features

Linting and quick fixes, offered by WikiLint

Linting

Auto-completion

Auto-completion

Color preview

Color preview

Code navigation

Code navigation

Followable wiki and external links

Followable links

Symbol renaming

Symbol renaming

Code folding

Code Folding

Outline view

Outline

Hover

Hover

Help with parser function signatures

Parser function signatures

Inlay hints

Inlay hints

Configuration

Configuration Description Default Example
wikiparser.articlePath Specify the article path of the wiki site.
Also set the parser configuration automatically for all language editions of Wikipedia.
https://en.wikipedia.org/wiki/
wikiparser.config Manually specifiy the absolute path to the parser configuration file or the name of a preset configuration. enwiki
wikiparser.linter.enable Enable diagnostics. true
wikiparser.linter.severity Display or hide warnings. errors only errors and warnings
wikiparser.linter.lilypond Specify the path to the LilyPond executable to lint <score>. /opt/homebrew/bin/lilypond
wikiparser.completion Enable auto-completion. true
wikiparser.color Enable color decorators. true
wikiparser.hover Enable hover information. true
wikiparser.inlay Enable inlay hints for anonymous template/module parameters. true
wikiparser.signature Enable parser function signature help. true

Usage

wikitext-lsp --stdio

Package Sidebar

Install

npm i wikitext-lsp

Weekly Downloads

59

Version

1.3.6

License

GPL-3.0

Unpacked Size

51.7 kB

Total Files

5

Last publish

Collaborators

  • bhsd