GithubHelp home page GithubHelp logo

ddlog-lsp's Introduction

ddlog-lsp

A language server implementation for DDlog

Status

The server is still in an early state. It is usable but many advanced features have not yet been implemented.

Usage

The server has not yet had a stable release. You can build and install it locally if you would like to experiment with it in the meantime.

Installing the Server

Prebuilt Binaries

The easiest way to install the server is to grab one of the prebuilt binaries under releases.

Building from Source

First ensure you have the rust toolchain installed, then proceed as follows:

git clone https://github.com/ddlog-lsp/ddlog-lsp
cd ddlog-lsp
cargo xtask init
cargo xtask install
Selecting the Async Runtime

The server is runtime agnostic and can be configured to run on async-std, futures, smol, or tokio.

The table below describes how to select a runtime. The tokio runtime is selected by default.

runtime command
async-std cargo xtask install --runtime=async-std
futures cargo xtask install --runtime=futures
smol cargo xtask install --runtime=smol
tokio cargo xtask install --runtime=tokio

Installing the Client Extension

Once the server is installed you can install the Visual Studio Code client extension.

Language Server Feature Support

  • ๐Ÿ—น document parsing via ddlog tree-sitter grammars
  • ๐Ÿ—น document symbol provider
  • ๐Ÿ—น syntax error diagnostics provider
  • ๐Ÿ—น incremental document synchronization

Language Server Feature Roadmap

  • โ˜ code action provider
  • โ˜ code lens provider
  • โ˜ completion provider
  • โ˜ definition provider
  • โ˜ document formatting (full and ranged) provider
  • โ˜ document highlight provider
  • โ˜ hover provider
  • โ˜ references provider
  • โ˜ semantic tokens provider
  • โ˜ signature help provider
  • โ˜ workspace symbol provider
  • โ˜ implementation of the Debug Adapter Protocol
  • โ˜ document validation

ddlog-lsp's People

Contributors

darinmorrison avatar dependabot[bot] avatar silvanshade avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.