Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ocfbnj/thrift-ls

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thrift-ls

A Thrift language server.

This project contains two programs:

  • Rust binary: A language server for Thrift.
  • VS Code extension: A VS Code extension for Thrift. This extension uses the WASM output of the Rust library.

Features

  • semantic syntax highlighting.
  • go to definition.
  • diagnostics.
  • completion.

How to Build

Prerequisites

  • Cargo installed (see here).
  • Node.js installed (optional, for building the VS Code extension).

Build with Cargo

  1. Clone and Build
    git clone https://github.com/ocfbnj/thrift-ls.git
    cd thrift-ls
    cargo build --release
    Now you can find the binary in ./target/release/thrift-ls.

Build VS Code Extension

  1. Install wasm-pack and wasm-bindgen-cli

    cargo install wasm-pack wasm-bindgen-cli
  2. Install vsce

    npm install -g @vscode/vsce
  3. Build the VS Code extension

    cd editors/code
    npm install
    npm run compile
    vsce package

    Now you can find the VS Code extension in ./thrift-ls-x.x.x.vsix.

About

A Thrift language server.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.