Code samples: Change the CONTINUATION_INDENT_SIZE from 8 to 4 and reformat code.

We use INDENT_SIZE = 2 and continuation size should be at most 4 in this case.
This commit is contained in:
Karol Lewandowski 2023-09-07 11:59:58 +02:00
parent 9519c2e9e3
commit e87f195b80
43 changed files with 234 additions and 229 deletions

View File

@ -18,6 +18,7 @@ import java.awt.*;
* Manages validation and modification of the {@link DemoFacet} state.
*/
public class DemoFacetEditorTab extends FacetEditorTab {
private static final String FACET_PANEL_PROMPT = "Path To SDK: ";
private final DemoFacetState mySettings;

View File

@ -13,6 +13,7 @@ import org.jetbrains.annotations.Nullable;
import javax.swing.Icon;
public class SimpleStructureAwareNavbar extends StructureAwareNavBarModelExtension {
@NotNull
@Override
protected Language getLanguage() {

View File

@ -39,4 +39,5 @@ public class SimpleStructureViewModel extends StructureViewModelBase implements
protected Class<?> @NotNull [] getSuitableClasses() {
return new Class[]{SimpleProperty.class};
}
}

View File

@ -102,5 +102,7 @@ public class CalendarToolWindowFactory implements ToolWindowFactory, DumbAware {
public JPanel getContentPanel() {
return contentPanel;
}
}
}