redhat-developer / redhat-developer/vscode-java

How to make braces go to next line when creating class

Open
#1,702 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.