Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Question] How to enable annotation processing

Open
#453 2 comments 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from emacs-lsp/lsp-java

All issues in emacs-lsp/lsp-java

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.