Intellij idea IntelliJ对齐变量
我要格式化以下代码:Intellij idea IntelliJ对齐变量,intellij-idea,Intellij Idea,我要格式化以下代码: public static final String s1 = "first", s2 = "second", s3 = "third"; 进入这个 public static final String s1 = "first", s2 = "second", s3 = "third"; 我尝试选择所有的组声明复选框,但它们并没有达到我想要的效果。尝试避免这种
public static final String s1 = "first", s2 = "second", s3 = "third";
进入这个
public static final String s1 = "first",
s2 = "second",
s3 = "third";
我尝试选择所有的组声明复选框,但它们并没有达到我想要的效果。尝试避免这种情况。它与Java风格的约定相冲突。Intellij不提供此功能。您可以使用Ctrl+Alt+L来正确重构代码。可以在YouTrack上创建功能请求:。