Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhsd-harry/vscode-extension-wikiparser
VSCode language server for MediaWiki Wikitext
https://github.com/bhsd-harry/vscode-extension-wikiparser
language-server mediawiki visual-studio-code-extension vscode-extension wikitext
Last synced: 8 days ago
JSON representation
VSCode language server for MediaWiki Wikitext
- Host: GitHub
- URL: https://github.com/bhsd-harry/vscode-extension-wikiparser
- Owner: bhsd-harry
- License: gpl-3.0
- Created: 2024-11-10T06:59:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-01T11:47:42.000Z (26 days ago)
- Last Synced: 2025-01-01T12:31:24.266Z (26 days ago)
- Topics: language-server, mediawiki, visual-studio-code-extension, vscode-extension, wikitext
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=Bhsd.vscode-extension-wikiparser
- Size: 2.59 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# WikiParser Language Server
[![VSCode Marketplace: WikiParser Language Server](https://vsmarketplacebadges.dev/version-short/bhsd.vscode-extension-wikiparser.webp?color=blueviolet&logo=visual-studio-code&style=?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=Bhsd.vscode-extension-wikiparser)
[![CodeQL](https://github.com/bhsd-harry/vscode-extension-wikiparser/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/vscode-extension-wikiparser/actions/workflows/codeql.yml)
[![CI](https://github.com/bhsd-harry/vscode-extension-wikiparser/actions/workflows/node.js.yml/badge.svg)](https://github.com/bhsd-harry/vscode-extension-wikiparser/actions/workflows/node.js.yml)
[![codebeat badge](https://codebeat.co/badges/5d0a34e8-ed10-4f28-b1a2-4b23123a85f8)](https://codebeat.co/projects/github-com-bhsd-harry-vscode-extension-wikiparser-main)This is a language server extension for Visual Studio Code that provides language supports for the [Wikitext](https://www.mediawiki.org/wiki/Wikitext) language.
## Installation
You can install this extension from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Bhsd.vscode-extension-wikiparser).
## Usage
This extension does not activate automatically. The server exists as an asset at the location: `server/dist/server.js`. You can call this asset from any extension, for example:
```js
const path = require('path'),
{extensions} = require('vscode'),
{LanguageClient} = require('vscode-languageclient/node');const {extensionPath} = extensions.getExtension('Bhsd.vscode-extension-wikiparser');
new LanguageClient(
'WikiParser Language Server',
{
run: {module: path.join(extensionPath, 'server', 'dist', 'server.js')},
},
{
documentSelector: [
{scheme: 'file', language: 'wikitext'},
{scheme: 'untitled', language: 'wikitext'},
],
},
).start();
```## Features
### Linting and quick fixes, offered by [WikiLint](https://npmjs.com/package/wikilint)
### Auto-completion
### Color preview
### Code navigation
### Followable wiki and external links
### Symbol renaming
### Code folding
### Outline view
### Hover information
### Help with parser function signatures