Comments (7)
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.
lsp-mode should start the language server automatically. Is that not happening?
from lsp-java.
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.
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.
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.
In order to force
lsp-java
server to start, you could calllsp-java-enable
manually. You could restart the workspace withlsp-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.
Use M-x lsp
. You may consult with lsp-mode's documentation.
from lsp-java.
Related Issues (20)
- Hangs in "Main thread is Waiting" in tree sitter mode (java-ts-mode) HOT 5
- Emacs company-mode doesn't work correctly HOT 16
- lsp-java not working with java-ts-mode HOT 1
- Have to start emacs with sudo, otherwise jdtls won't work HOT 3
- [Question] How to enable annotation processing
- `lsp-jt-run` not works
- Auto indent for empty line HOT 2
- (lsp-java--get-java-version) buggy
- Support for newest version of JDK 20, 21?
- test.java is not part of any project
- Is possible to get the oracle documentation of methods?
- support for netbeans lsp server HOT 1
- may not be accessible to clients due to missing ’requires transitive’, adding it breaks company-capf
- install jdtls but Non-readable POM HOT 1
- Gradle Tasks
- lsp-java-update-server is deprecated: update to README required
- vmArgs field in the launch.json file is not parsed or used. HOT 2
- lsp-java-server-install-dir variable does not seem to work HOT 2
- Lombok support does not work
- Null annotation types config? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-java.