dot-language-server

A language server for the DOT language.

https://github.com/nikeee/dot-language-server

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary

Keywords

dot-language graphviz hacktoberfest language-server language-server-protocol lsp

Keywords from Contributors

mesh interpretability sequences generic projection interactive optim hacking network-simulation
Last synced: 6 months ago · JSON representation ·

Repository

A language server for the DOT language.

Basic Info
  • Host: GitHub
  • Owner: nikeee
  • License: mit
  • Language: TypeScript
  • Default Branch: master
  • Homepage:
  • Size: 1.17 MB
Statistics
  • Stars: 43
  • Watchers: 3
  • Forks: 4
  • Open Issues: 6
  • Releases: 0
Topics
dot-language graphviz hacktoberfest language-server language-server-protocol lsp
Created over 7 years ago · Last pushed 7 months ago
Metadata Files
Readme Funding License Citation

README.md

dot-language-server CI Dependency Status npm downloads

A language Server for the DOT language/Graphviz.

Prerequisites

  • Node.js >=18
  • npm

Installation

Shell 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

Vim

coc.nvim

json { "languageserver": { "dot": { "command": "dot-language-server", "args": ["--stdio"], "filetypes": ["dot"] } } }

vim-lsp

vim if executable('dot-language-server') augroup lsp autocmd! autocmd User lsp_setup call lsp#register_server({ \ 'name': 'dot', \ 'cmd': {server_info->['dot-language-server', '--stdio']}, \ 'whitelist': ['dot'], \ }) augroup END endif

Neovim

lua vim.api.nvim_create_autocmd({ "BufEnter" }, { pattern = { "*.dot" }, callback = function() vim.lsp.start({ name = "dot", cmd = { "dot-language-server", "--stdio" } }) end, })

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:

JSON { "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!

Owner

  • Name: Niklas Mollenhauer
  • Login: nikeee
  • Kind: user
  • Location: Germany

Polyglot software engineer. Likes reducing cognitive overhead as well as language, API and DX/UX design.

Citation (CITATION.cff)

cff-version: 1.2.0
title: DOT Language Server
message: If you use this software, please cite it using the metadata from this file.
type: software
authors:
  - given-names: Niklas
    family-names: Mollenhauer
repository-code: 'https://github.com/nikeee/dot-language-server'
abstract: A language Server (LSP) for the DOT language/Graphviz.
keywords:
  - dot
  - graphviz
  - language-server-protocol
license: MIT

GitHub Events

Total
  • Watch event: 6
  • Delete event: 19
  • Issue comment event: 4
  • Push event: 19
  • Pull request event: 35
  • Create event: 23
Last Year
  • Watch event: 6
  • Delete event: 19
  • Issue comment event: 4
  • Push event: 19
  • Pull request event: 35
  • Create event: 23

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 234
  • Total Committers: 4
  • Avg Commits per committer: 58.5
  • Development Distribution Score (DDS): 0.316
Past Year
  • Commits: 35
  • Committers: 2
  • Avg Commits per committer: 17.5
  • Development Distribution Score (DDS): 0.2
Top Committers
Name Email Commits
Niklas Mollenhauer n****e@o****m 160
dependabot[bot] 4****] 72
Wu Zhenyu w****u@u****u 1
Abdelhak Bougouffa a****a@f****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 117
  • Average time to close issues: 5 days
  • Average time to close pull requests: 5 days
  • Total issue authors: 6
  • Total pull request authors: 4
  • Average comments per issue: 1.38
  • Average comments per pull request: 0.03
  • Merged pull requests: 102
  • Bot issues: 0
  • Bot pull requests: 111
Past Year
  • Issues: 0
  • Pull requests: 45
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.02
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 43
Top Authors
Issue Authors
  • nikeee (3)
  • Aaron-von-Awesome (1)
  • storopoli (1)
  • DoktorMike (1)
  • jbriales (1)
  • erasin (1)
Pull Request Authors
  • dependabot[bot] (111)
  • nikeee (4)
  • abougouffa (1)
  • Freed-Wu (1)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels
dependencies (111) javascript (109) github_actions (2)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 506 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 32
  • Total maintainers: 1
npmjs.org: dot-language-server

Language server for the DOT language

  • Versions: 32
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 506 Last month
Rankings
Downloads: 6.2%
Stargazers count: 7.7%
Forks count: 8.2%
Dependent repos count: 10.3%
Average: 10.7%
Dependent packages count: 20.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

package-lock.json npm
  • 161 dependencies
package.json npm
  • @types/node ^18.7.13 development
  • @types/yargs ^17.0.11 development
  • pkg ^5.8.0 development
  • rimraf ^3.0.2 development
  • typescript ^4.8.2 development
  • dot-language-support ^2.0.5
  • vscode-languageserver ^8.0.2
  • vscode-languageserver-textdocument ^1.0.5
  • yargs ^17.5.1
.github/workflows/CD.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • actions/upload-artifact v3 composite
.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite