GithubHelp home page GithubHelp logo

templatek / haskell-lsp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haskell/lsp

0.0 0.0 0.0 1.16 MB

Haskell library for the Microsoft Language Server Protocol

License: MIT License

Haskell 100.00%

haskell-lsp's Introduction

CircleCI Hackage

haskell-lsp

Haskell library for the Microsoft Language Server Protocol

Warning: this library and its associated ecosystem is under development at the moment. So do not have high expectations, it is not ready for casual use.

Hacking

To see this library in use you need to install the haskell-ide-engine

git clone https://github.com/haskell/haskell-ide-engine --recursive
cd haskell-ide-engine
stack install

This will put the hie executable in your path.

Then, run the plugin in vscode:

git clone https://github.com/alanz/vscode-hie-server
cd vscode-hie-server
code .

In vscode, press F5 to run the extension in development mode.

You can see a log from hie by doing

tail -F /tmp/hie-vscode.log

There are also facilities on the code to send back language-server-protocol log and show events.

It can also be used with emacs, see https://github.com/emacs-lsp/lsp-haskell

Using the example server

stack install :lsp-hello --flag haskell-lsp:demo

will generate a lsp-hello executable.

Changing the server to be called in the vscode-hie-server plugin from hie to lsp-hello will run the example server instead of hie.

Likewise, changing the executable in lsp-haskell for emacs.

Useful links

Other resource

See #haskell-ide-engine on IRC freenode

haskell-lsp's People

Contributors

alanz avatar lukel97 avatar wz1000 avatar jneira avatar mpickering avatar cocreature avatar thomasjm avatar greenhat avatar adamwalker avatar fendor avatar davidm-d avatar squiddev avatar bgamari avatar anton-dessiatov avatar jmitchell avatar jinwoo avatar lorenzo avatar ollef avatar andys8 avatar sapek avatar domenkozar avatar friede80 avatar noughtmare avatar turion avatar ndmitchell avatar robrix avatar anrock avatar johnsonwj avatar alexeyraga avatar nponeccop 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.