Question: How to setting VSCODE Auto Code Format to let get and set just 1 line? some of code just have 1 line in a block,

How to setting VSCODE Auto Code Format to let "get" and "set" just 1 line?

some of code just have 1 line in a block, how can I set after I use auto code format like the pic?

How to setting VSCODE Auto Code Format to let "get" and "set"

just 1 line? some of code just have 1 line in a

public int getId() {return id;} public String getMajor() {return major;} public String getName() {return name; } public double getScore() {return score;} public void setRadius(int radius) { this.radius = radius; } public int getCenterx() { return centerX; .. }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!