Code Monkey home page Code Monkey logo

Comments (10)

yyoncho avatar yyoncho commented on May 24, 2024 1

Yes. It is an implementation of https://code.visualstudio.com/docs/extensionAPI/api-debugging .

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

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.

oakad avatar oakad commented on May 24, 2024

Sounds good.

And thank you for the good work - my emacs java experience had improved rather considerably.

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

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.

vallyscode avatar vallyscode commented on May 24, 2024

Are you talking about this one?
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug

from lsp-java.

vallyscode avatar vallyscode commented on May 24, 2024

Do you have any roadmap or something for lsp-java things you are planning to implement?

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

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:

  1. Automatic project management - introducing commands like lsp-add-folder/lsp-remove-folder (must be implemented in lsp-mode)
  2. Automatic installer of jdt-ls
  3. Spacemacs layer for lsp-java - I have it implemented but there 2 pull requests that have to be pushed.
  4. Switching to che-ls-jdt . It provides support for browsing unit tests, exploring jar classes, effective pom, maven deps tree, etc.
  5. Unit test support (will be in separate repo)
  6. 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).
  7. Code lenses support
  8. 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).
  9. Create lsp-java-mode to introduce default keybindings.
  10. Helm package for lsp-java/lsp-mode . This one is in progress, I will finish it after spacemacs 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.

oakad avatar oakad commented on May 24, 2024

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.

yyoncho avatar yyoncho commented on May 24, 2024

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.

  1. Better process managed. This does not affect a lot lsp-java(except for some startup issues) since JDT Server is stable, I havent encountered single crash for 3 months of usage.
  2. Group edits when sending them to the server.
  3. Expose more hooks - at this point lsp-java is using :before/:after advice to plug into lsp-mode.

from lsp-java.

yyoncho avatar yyoncho commented on May 24, 2024

@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.
selection_034

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.