Code Monkey home page Code Monkey logo

Comments (7)

naclander avatar naclander commented on May 24, 2024

It seems that the java lsp server does start sometimes. Its hard for me to diagnose why it starts some times and not others.

I like the path that meghanada took and had all server interaction logged to a separate buffer.

from lsp-java.

vibhavp avatar vibhavp commented on May 24, 2024

lsp-mode should start the language server automatically. Is that not happening?

from lsp-java.

vibhavp avatar vibhavp commented on May 24, 2024

Also, I like the idea to log all server interaction. Structured logging for requests and response might be a feature in lsp-mode at some point.

from lsp-java.

naclander avatar naclander commented on May 24, 2024

Actually I seem to sometimes get a prompt to start the lsp-server, but depending on how I open the buffer it sometimes doesn't get prompted ( for example, if I open a file via neotree ).

This might be a problem with lsp-mode and not lsp-java, but it would still be nice if I had a command to force the java lsp server to start ( and maybe restart and kill it as well ).

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

In order to force lsp-java server to start, you could call lsp-java-enable manually. You could restart the workspace with lsp-restart-workspace.

from lsp-java.

ivanhjc avatar ivanhjc commented on May 24, 2024

In order to force lsp-java server to start, you could call lsp-java-enable manually. You could restart the workspace with lsp-restart-workspace.

Is lsp-java-enable unavailable now? I'm using lsp-java 20191115.1712 and it's not found when I try to call it with M-x. I tried lsp-restart-workspace and it let me select a workspace to restart while there's no matching workspace. I also tried to add a workspace by calling lsp-workspace-folders-add but still no good. As of now what's the proper way to start the server from within Emacs?

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

Use M-x lsp. You may consult with lsp-mode's documentation.

from lsp-java.

Related Issues (20)

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.