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 10
10
import com .intellij .application .options .IndentOptionsEditor ;
11
11
import com .intellij .lang .Language ;
12
12
import com .intellij .lang .jsgraphql .JSGraphQLLanguage ;
13
- import com .intellij .openapi .application .ApplicationBundle ;
14
13
import com .intellij .psi .codeStyle .CommonCodeStyleSettings ;
15
14
import com .intellij .psi .codeStyle .LanguageCodeStyleSettingsProvider ;
16
15
import org .jetbrains .annotations .NotNull ;
17
16
import org .jetbrains .annotations .Nullable ;
18
17
19
- import javax .swing .*;
20
-
21
18
public class JSGraphQLLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettingsProvider {
22
19
23
20
@ NotNull
@@ -41,16 +38,10 @@ public CommonCodeStyleSettings getDefaultCommonSettings() {
41
38
public IndentOptionsEditor getIndentOptionsEditor () {
42
39
return new IndentOptionsEditor () {
43
40
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 );
54
45
}
55
46
};
56
47
}
You can’t perform that action at this time.
0 commit comments