[Question] How to enable annotation processing
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- emacs-lisp, java
- Domain
- build-system, devtools
Research direction
Start with lsp-java.el around line 1768 and compare the configuration at commit e78199d with the reported Doom Emacs setup. Reproduce the annotation-processing attempt using the linked ecj-filer-exception demo project. Done means determining whether lsp-java supports this workflow and documenting the required configuration or the missing support.
Written by the indexing model from the issue text.
Description
background
I want to emacs-lsp/lsp-java to compile/build a gradle based java project which uses annotation processing to generate source code.
I found https://github.com/emacs-lsp/lsp-java/blob/master/lsp-java.el#L1768 which let me hope that this feature is possible.
Steps to reproduce
So I updated my doom emacs lsp-java config to revision https://github.com/emacs-lsp/lsp-java/commit/e78199d13695cfa63db8b9711a8f3ce0fafe80fe
and tried to build a small demo project https://github.com/mbauhardt/ecj-filer-exception without success
Because I'm new into emacs I'm pretty sure I do something wrong.
Final Question
Can someone help me and give me some hints how to enable my emacs config to support annotation processing to generate code?
thx.
marko
- Dominant language
- Emacs Lisp
- Stars
- 696
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from emacs-lsp/lsp-java
-
dap-java discards module paths from resolveClasspath causing JPMS-modular projects fail to launchOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in emacs-lsp/lsp-java
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
yegor256/copyrights-action#216 ·
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
msys2/MINGW-packages#32008 ·
Maintainers usually reply within 1 day
-
Support Python 3.13+Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
cytomining/copairs#145 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bot-found bug priority: P3
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
madenvel/KalinkaPlayer#179 ·