File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
src/main/com/intellij/lang/jsgraphql/ide/formatter Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 1010import com .intellij .application .options .IndentOptionsEditor ;
1111import com .intellij .lang .Language ;
1212import com .intellij .lang .jsgraphql .JSGraphQLLanguage ;
13- import com .intellij .openapi .application .ApplicationBundle ;
1413import com .intellij .psi .codeStyle .CommonCodeStyleSettings ;
1514import com .intellij .psi .codeStyle .LanguageCodeStyleSettingsProvider ;
1615import org .jetbrains .annotations .NotNull ;
1716import org .jetbrains .annotations .Nullable ;
1817
19- import javax .swing .*;
20-
2118public class JSGraphQLLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettingsProvider {
2219
2320 @ NotNull
@@ -41,16 +38,10 @@ public CommonCodeStyleSettings getDefaultCommonSettings() {
4138 public IndentOptionsEditor getIndentOptionsEditor () {
4239 return new IndentOptionsEditor () {
4340 protected void addComponents () {
44- addTabOptions ();
45- myTabSizeField = new JTextField ();
46- myTabSizeLabel = new JLabel ();
47- myIndentField = createIndentTextField ();
48- myIndentLabel = new JLabel (ApplicationBundle .message ("editbox.indent.indent" ));
49- add (myIndentLabel , myIndentField );
50- }
51-
52- protected void addTabOptions () {
53- myCbUseTab = new JCheckBox ("" );
41+ super .addComponents ();
42+ myCbUseTab .setVisible (false );
43+ myTabSizeField .setVisible (false );
44+ myTabSizeLabel .setVisible (false );
5445 }
5546 };
5647 }
You can’t perform that action at this time.
0 commit comments