Skip to content

Language Server Protocol implementation for the Haxe language

License

Notifications You must be signed in to change notification settings

Antriel/haxe-language-server

 
 

Repository files navigation

Haxe Language Server

Build Status

This is a language server implementing Language Server Protocol for the Haxe language.

The goal of this project is to encapsulate haxe's completion API with all its quirks behind a solid and easy-to-use protocol that can be used by any editor/IDE.

Used by the Visual Studio Code Haxe Extension. It has also successfully been used in Neovim and Sublime Text[1][2], but no official extensions exist at this time.

Note that any issues should be reported to vshaxe directly (this is also the reason why the issue tracker is disabled). Pull requests are welcome however!

IMPORTANT: This requires Haxe 3.4.0 or newer due to usage of -D display-stdin, --wait stdio and tons of other fixes and additions related to IDE support.

Building From Source

The easiest way to work on the language server is probably to build it as part of the vshaxe VSCode extension as instructed here (even if you ultimately want to use it outside of VSCode), which allows for easy debugging.

However, you can also build it as a standalone project like so:

git clone --recursive https://github.com/vshaxe/haxe-language-server
cd haxe-language-server
npm install
npx lix run vshaxe-build -t language-server

This creates a bin/server.js that can be started with node server.js.

About

Language Server Protocol implementation for the Haxe language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 100.0%