GithubHelp home page GithubHelp logo

Comments (6)

nobody-famous avatar nobody-famous commented on July 20, 2024 1

I think the only thing that might be VSCode specific are the snippets returned with completions. I don't remember if the spec gives instructions on those or not. Other than that, it's not specific. The main issue is that it uses a lot of non-standard messages for the REPL and whatnot, so there would need to be a client side done for the other editors to handle those.

The list of messages is here,

(defparameter *handlers* (list (cons "initialize" 'handle-init)

The parameters they take, and exactly what they return, would be a little more work to figure out and document.

from alive-lsp.

jcs090218 avatar jcs090218 commented on July 20, 2024

Added the support to lsp-mode, see emacs-lsp/lsp-mode#4385.

from alive-lsp.

jcs090218 avatar jcs090218 commented on July 20, 2024

It's currently out of box. You only need to download and install the language server.

from alive-lsp.

fkinosh avatar fkinosh commented on July 20, 2024

@jcs090218 Awesome! I'm just having a bit of trouble making it start automatically when opening a .lisp file. I've tried adding this like taken from the initial commit 559db8d but didn't seem to help:

  (use-package lsp-mode
    :hook ((c-mode lisp-mode) . lsp-deferred) ;; also not sure which name I should use here
    :commands lsp                             ;;  is "lisp-mode" correct?
    :config
    (add-hook 'lisp-mode-hook #'lsp-lisp-alive-start-ls) ;; this line from initial commit

from alive-lsp.

jcs090218 avatar jcs090218 commented on July 20, 2024

Make sure your server is up and running, or else it won't work. Try to start the language server manually.

from alive-lsp.

PHRaposo avatar PHRaposo commented on July 20, 2024

I'm trying to connect alive-lsp to Max with the object jit.net.send.

I know it should be much more complicated than this, but when I start the patch something happened (I don't know what or why).

Screenshot:

UDP-MAX-LISP

When I close Max I got the following error:

debugger invoked on a SB-PCL::NO-APPLICABLE-METHOD-ERROR in thread
#<THREAD tid=12264 "Session Message Reader" RUNNING {1002E3DC33}>:
There is no applicable method for the generic function
#<STANDARD-GENERIC-FUNCTION ALIVE/SERVER::SESSIONS (1)>
when called with arguments
(NIL).
See also:
The ANSI Standard, Section 7.6.6

The current thread is not at the foreground,
SB-THREAD:RELEASE-FOREGROUND has to be called in #<SB-THREAD:THREAD tid=14264 "main thread" RUNNING {10042C01C3}>
for this thread to enter the debugger.

Any ideas?

Max support Json scripts as well, so maybe something can be done in that way.

from alive-lsp.

Related Issues (13)

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.