Comments (10)
Yes. It is an implementation of https://code.visualstudio.com/docs/extensionAPI/api-debugging .
from lsp-java.
I have added settings to enable/disable maven/gradle import. At this point there lsp-java-vmargs
which can be used to inject additional parameters. When I have time I will check whether it is sufficient to make it work and then update the readme accordingly.
from lsp-java.
Sounds good.
And thank you for the good work - my emacs java experience had improved rather considerably.
from lsp-java.
You welcome, as a side note, I am working on Emacs frontend for vscode debugger. I believe that I will able to make it usable in few weeks.
from lsp-java.
Are you talking about this one?
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug
from lsp-java.
Do you have any roadmap or something for lsp-java things you are planning to implement?
from lsp-java.
There are several things that have to be implemented and that are missing from LSP Java and LSP in general. The list is not prioritized:
- Automatic project management - introducing commands like
lsp-add-folder
/lsp-remove-folder
(must be implemented inlsp-mode
) - Automatic installer of
jdt-ls
- Spacemacs layer for
lsp-java
- I have it implemented but there 2 pull requests that have to be pushed. - Switching to
che-ls-jdt
. It provides support for browsing unit tests, exploring jar classes, effective pom, maven deps tree, etc. - Unit test support (will be in separate repo)
- Integrated IDE-like debugger which will provide breakpoints, locals, thread, stackframe browsing, multiple session and so on which works out of the box and it is easy to use(in separate repo).
- Code lenses support
- IDE like folder browser(I am planning integration with
treemacs
). The idea is that you will be able to see the folders containing errors(similar to what Eclipse/Intelij do). - Create
lsp-java-mode
to introduce default keybindings. - Helm package for
lsp-java
/lsp-mode
. This one is in progress, I will finish it afterspacemacs
layer.
Meanwhile, I am monitoring jdt-ls
project for exposing any new feature. In fact, except for folder management and code lenses and few small unimportant bits, all of the jdt.ls
functionality is accessible through lsp-java
.
Sadly, I have commit rights only in lsp-java
but not in the other repos (lsp-mode
, lsp-ui
) slows down the items that require commits in these repos since the owners seems to be pretty busy lately and some of the pull request are pending for 10+ days.
Also, I am trying to address all of the request/features (if feasible) to bring up more people and eventually contributors to the project. If you have some specific questions or feature requests feel free to file an issue.
from lsp-java.
If we are already at this, what do you think about this thing here: https://github.com/joaotavora/eglot ? Is it really a better option now that Emacs 26 is out?
from lsp-java.
I have filed an issue for any of the advantages that eglot
has listed (except for prettier code).
In my previous comment, I have listed all of the major user-visible improvements that I want to make. There are also few things that I am willing to fix under the hoods in lsp-mode
.
- Better process managed. This does not affect a lot
lsp-java
(except for some startup issues) sinceJDT Server
is stable, I havent encountered single crash for 3 months of usage. - Group edits when sending them to the server.
- Expose more hooks - at this point
lsp-java
is using :before/:after advice to plug intolsp-mode
.
from lsp-java.
@oakad I did some testing with Java 10 but it seems like it was working fine even without the flags from comment. I am closing the issue, please reopen and provide steps to reproduce the issue or drop me a note to update README.md if the flags mentioned in bug description are required.
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.