redhat-developer / redhat-developer/vscode-java
How to make braces go to next line when creating class
Open
Nobody has claimed this yet.
enhancement
formatter
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Is there any settings to make braces turn to the next line when creating a class?
Environment
- Operating System: Microsoft Windows [Version 10.0.19041.572]
- JDK version: openjdk 11.0.8 2020-07-14
- Visual Studio Code version: 1.51.1
- Java extension version: V 0.10.0
Steps To Reproduce
Create a class
Current Result
public class demo{
}
Expected Result
public class demo
{
}
Additional Informations
none
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 checking the Java extension's class-creation and formatting settings, using the reported Windows, JDK, VS Code, and Java extension versions to reproduce the result. Done means identifying or implementing a setting that produces the expected brace placement when creating a class.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100