dot-language-server

1.2.0 • Public • Published

dot-language-server CI Dependency Status npm downloads

A language Server for the DOT language/Graphviz.

Prerequisites

  • Node.js >=18
  • npm

Installation

npm i -g dot-language-server

If you want to request or implement new features, head over to dot-language-support.

Features

Refactorings

Refactorings Demo in Sublime Text

Usage

Visual Studio Code

TODO: There's an Extension for that.

Sublime Text

  1. Install LSP support via Install Package -> LSP
  2. Go to Preferences: LSP Settings
  3. Add this to clients:
{
	"clients": {
		"dot-language-server": {
			"command": ["dot-language-server", "--stdio"],
			"enabled": true,
			"languageId": "dot",
			"scopes": ["source.dot"],
			"syntaxes": ["Packages/Graphviz/DOT.sublime-syntax"]
		}
	}
}

Note for Windows Users: You have to append .cmd to the first entry in the command array (or, if possible, enable shell execution).

Emacs

For Emacs users, you need to use lsp-mode which supports the DOT Language Server out of the box.

...and you're done!

Install

DownloadsWeekly Downloads

88

Version

1.2.0

License

MIT

Unpacked Size

1.04 MB

Total Files

16

Last publish

Collaborators

  • nikeee