File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,22 @@ <h3 style="margin: 0.5rem 0">Options</h3>
83
83
< option value ="lower "> Lower</ option >
84
84
</ select >
85
85
</ article >
86
+ < article class ="config ">
87
+ < label for ="dataTypeCase "> Data type case:</ label >
88
+ < select id ="dataTypeCase ">
89
+ < option value ="preserve "> Preserve</ option >
90
+ < option value ="upper "> Upper</ option >
91
+ < option value ="lower "> Lower</ option >
92
+ </ select >
93
+ </ article >
94
+ < article class ="config ">
95
+ < label for ="functionCase "> Function case:</ label >
96
+ < select id ="functionCase ">
97
+ < option value ="preserve "> Preserve</ option >
98
+ < option value ="upper "> Upper</ option >
99
+ < option value ="lower "> Lower</ option >
100
+ </ select >
101
+ </ article >
86
102
< article class ="config ">
87
103
< label for ="identifierCase "> Identifier case:</ label >
88
104
< select id ="identifierCase ">
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ const attachFormat = () => {
7
7
const tabWidth = document . getElementById ( 'tabWidth' ) ;
8
8
const useTabs = document . getElementById ( 'useTabs' ) ;
9
9
const keywordCase = document . getElementById ( 'keywordCase' ) ;
10
+ const dataTypeCase = document . getElementById ( 'dataTypeCase' ) ;
11
+ const functionCase = document . getElementById ( 'functionCase' ) ;
10
12
const identifierCase = document . getElementById ( 'identifierCase' ) ;
11
13
const indentStyle = document . getElementById ( 'indentStyle' ) ;
12
14
const logicalOperatorNewline = document . getElementById ( 'logicalOperatorNewline' ) ;
@@ -34,6 +36,8 @@ const attachFormat = () => {
34
36
tabWidth : tabWidth . value ,
35
37
useTabs : useTabs . checked ,
36
38
keywordCase : keywordCase . options [ keywordCase . selectedIndex ] . value ,
39
+ dataTypeCase : dataTypeCase . options [ dataTypeCase . selectedIndex ] . value ,
40
+ functionCase : functionCase . options [ functionCase . selectedIndex ] . value ,
37
41
identifierCase : identifierCase . options [ identifierCase . selectedIndex ] . value ,
38
42
indentStyle : indentStyle . options [ indentStyle . selectedIndex ] . value ,
39
43
logicalOperatorNewline :
@@ -70,6 +74,8 @@ const attachFormat = () => {
70
74
tabWidth ,
71
75
useTabs ,
72
76
keywordCase ,
77
+ dataTypeCase ,
78
+ functionCase ,
73
79
identifierCase ,
74
80
indentStyle ,
75
81
logicalOperatorNewline ,
You can’t perform that action at this time.
0 commit comments