redhat-developer / redhat-developer/vscode-java
Making any changes to eclipse formatter xml is not reflecting to actual format of java file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Environment
- Operating System: Arch Linux x86_64
- JDK version: openjdk 18.0.2 2022-07-19
- Visual Studio Code version: 1.72.1
- Java extension version: v1.11.0
Steps To Reproduce
- Make sure "java.format.settings.url" is pointing to correct eclipse formatter xml
- Make any changes to the eclipse formatter xml
- Reload/Restart vscode and format the file
- File will get formatted but new changes will be not reflected
Current Result
FIle is formatted but irrespective of changes made in eclipse formatter xml.
Expected Result
File should be formatted with respect to the changes made in eclipse formatter xml.
Additional Informations
This is happening since v1.11.0, version < 1.11.0 have no such issues.
Contributor 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.
Research direction
Start by reproducing the issue with java.format.settings.url and the Eclipse formatter XML described in the steps, comparing behavior before and after version 1.11.0. Trace the formatting entry point used when the Java file is formatted after a VS Code reload; done means XML changes are reflected in the resulting formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100