mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
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:
parent
436664b23f
commit
c37b34729e
1
.idea/codeStyles/Project.xml
generated
1
.idea/codeStyles/Project.xml
generated
@ -19,6 +19,7 @@
|
||||
<option name="WRAP_ON_TYPING" value="0" />
|
||||
<indentOptions>
|
||||
<option name="INDENT_SIZE" value="2" />
|
||||
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
||||
<option name="TAB_SIZE" value="2" />
|
||||
</indentOptions>
|
||||
</codeStyleSettings>
|
||||
|
@ -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;
|
||||
|
@ -13,6 +13,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
import javax.swing.Icon;
|
||||
|
||||
public class SimpleStructureAwareNavbar extends StructureAwareNavBarModelExtension {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected Language getLanguage() {
|
||||
|
@ -39,4 +39,5 @@ public class SimpleStructureViewModel extends StructureViewModelBase implements
|
||||
protected Class<?> @NotNull [] getSuitableClasses() {
|
||||
return new Class[]{SimpleProperty.class};
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -102,5 +102,7 @@ public class CalendarToolWindowFactory implements ToolWindowFactory, DumbAware {
|
||||
public JPanel getContentPanel() {
|
||||
return contentPanel;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user