Giter Club home page Giter Club logo

racket-language-server's People

Contributors

acepie avatar dvc94ch avatar jjpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

racket-language-server's Issues

language server cannot run without a running X11 server

On linux, due to the (recursive) dependencies on gui-lib, racket-langserver cannot run without a running X11 server. I believe the responsible dependencies are, besides gui-lib itself, drracket-tools-lib, which can be easily refactored into a headless component for racket-langserver, based on my experimentation... and racket-doc, which cannot. Since I've never used racket I'm not entirely sure what that racket-doc is doing; maybe it's not so hard to fix that issue as well.

Anyways, here's what happens if you try without X installed:

Welcome to Racket v7.8.
> (require racket-langserver)
; ffi-lib: couldn't open "libgdk-x11-2.0.so.0" (libgdk-x11-2.0.so.0: cannot
;   open shared object file: No such file or directory) [,bt for context]

With X installed but not running:

Welcome to Racket v7.8.
> (require racket-langserver)
Unable to init server: Could not connect: Connection refused
; Gtk initialization failed for display ":0" [,bt for context]

For completeness, with GTK installed and a non-X backend running there's also an error loading libX11.

Since this info was surprising to some people: Yes, there's a point to running a language server on a headless server: not only for TUI text editors, but even for GUI ones like VS Code Remote. And for what it's worth, I've not run into any other language servers which require X.

document highlight request implementation

Requires the client to use a custom tokenizer. The current client implementation of racket/colorize applies decorations manually which prevents the document highlight request from being triggered.

getting started workflow

I'd like to explore the use of this lsp server while playing on a toy racket based project

How do I install it ?

Do I need to require it from within the code of my project ?

Do I need to use raco in any way ?

And after installation, how do I connect my lsp client to the server ?

Thanks

Good first issue?

Hey, I'd love to help you in some way. I don't have a lot of experience with Racket, but I'm sure I'd be able to do something given enough time. Is there any first issue you would recommend tackling?

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.