JEP 401 Support value keyword
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Reproduce the failure with the reported npx prettier --plugin=prettier-plugin-java --write command and the sample src/main/java/wallet/Vahalla.java input. Trace the Java parsing entry point that rejects the value declaration, then verify that the sample formats successfully without the parse error.
Written by the indexing model from the issue text.
Description
Vahalla is coming! But not too quick, it will be in preview in 28 (march 2027). So it’s time to support the new keyword value.
Small example
public value record Vahalla(String value) {}
Actually with version 2.10.3 error is
npx prettier --plugin=prettier-plugin-java --write "**/*.java"
src/main/java/wallet/Vahalla.java
[error] src/main/java/wallet/Vahalla.java: Error: Failed to parse: (program (package_declaration (identifier)) (method_declaration (modifiers (visibility)) type: (type_identifier) (ERROR (identifier)) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block)))
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 35
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 jhipster/prettier-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jhipster/prettier-java#1113 ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
jhipster/prettier-java#1114 ·
Maintainers usually reply within 2 days
-
Text block containing a comment-like line with " or \ fails with "Comment was not printed"Possibly taken @sean0407 claimed this 1 day ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 66/100
jhipster/prettier-java#1112 ·
Maintainers usually reply within 2 days
-
Adds needlessly parenthesesPossibly taken @braxtonzhangio claimed this 74 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 67/100
jhipster/prettier-java#1001 ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
jhipster/prettier-java#948 · 4 comments ·
Maintainers usually reply within 2 days
All issues in jhipster/prettier-java
Similar issues
-
Optimize consumer version heatmap aggregation to avoid repeated scansPossibly taken @praykaria31 claimed this today. Opentype/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Apicurio/apicurio-registry#10662 · 1 comment ·
Maintainers usually reply within 1 day
-
a:false-positive
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
status: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
spring-projects/spring-boot#52347 ·
Maintainers usually reply within 2 days
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
opensearch-project/opensearch-migrations#3480 ·
Maintainers usually reply within 2 days
-
enhancement feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
rsp777/service-pulse-app#28 ·