Skip to content

Commit bde801d

Browse files
authored
fix(feature dev): update file extension list (#4777)
1 parent 90ac579 commit bde801d

File tree

2 files changed

+106
-114
lines changed

2 files changed

+106
-114
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q `/dev`: update supported file extensions"
4+
}

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/QConstants.kt

Lines changed: 102 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -13,210 +13,198 @@ object FeatureDevBundleConfig {
1313
val ALLOWED_CODE_EXTENSIONS = setOf(
1414
"abap",
1515
"ada",
16-
"ads",
1716
"adb",
18-
"cls",
19-
"trigger",
17+
"ads",
2018
"apl",
2119
"asm",
22-
"s",
2320
"awk",
24-
"sh",
21+
"b",
22+
"bas",
2523
"bash",
24+
"bat",
2625
"boo",
2726
"c",
28-
"h",
29-
"cs",
30-
"csx",
31-
"cpp",
27+
"cbl",
3228
"cc",
33-
"cxx",
34-
"c",
35-
"h",
36-
"hpp",
29+
"cfc",
30+
"cfm",
31+
"cjs",
3732
"clj",
3833
"cljc",
3934
"cljs",
35+
"cls",
36+
"cmake",
4037
"cob",
41-
"cbl",
42-
"cpy",
4338
"cobra",
4439
"coffee",
45-
"cfm",
46-
"cfc",
47-
"lisp",
48-
"lsp",
49-
"v",
40+
"cpp",
41+
"cpy",
5042
"cr",
43+
"cs",
44+
"css",
45+
"csx",
46+
"cxx",
5147
"d",
5248
"dart",
53-
"pas",
54-
"dpr",
5549
"dfm",
50+
"dpr",
5651
"e",
57-
"ex",
58-
"exs",
59-
"elm",
6052
"el",
61-
"elc",
53+
"elm",
6254
"erl",
63-
"hrl",
64-
"fs",
65-
"fsx",
66-
"fsi",
67-
"flow",
55+
"ex",
56+
"exs",
6857
"f",
58+
"f03",
59+
"f08",
60+
"f77",
6961
"f90",
7062
"f95",
63+
"flow",
64+
"for",
65+
"fs",
66+
"fsi",
67+
"fsx",
7168
"gd",
7269
"go",
70+
"gql",
71+
"graphql",
7372
"groovy",
73+
"gs",
74+
"gsp",
75+
"gst",
76+
"gsx",
7477
"gvy",
78+
"h",
7579
"hack",
7680
"hh",
81+
"hpp",
82+
"hrl",
7783
"hs",
78-
"lhs",
79-
"html",
8084
"htm",
81-
"css",
85+
"html",
8286
"hy",
83-
"pro",
8487
"idl",
8588
"io",
86-
"java",
87-
"class",
8889
"jar",
89-
"js",
90-
"mjs",
91-
"cjs",
90+
"java",
9291
"jl",
92+
"js",
93+
"json",
94+
"jsx",
9395
"kt",
9496
"kts",
9597
"lean",
96-
"b",
97-
"xc",
98-
"x",
99-
"xi",
10098
"lgt",
99+
"lhs",
100+
"lisp",
101101
"logtalk",
102+
"lsp",
102103
"lua",
103-
"mpl",
104-
"mv",
105104
"m",
106-
"nb",
107105
"ma",
108-
"m",
109-
"m",
106+
"mak",
107+
"makefile",
108+
"md",
109+
"mjs",
110+
"ml",
111+
"mli",
112+
"mpl",
113+
"ms",
110114
"mu",
115+
"mv",
111116
"n",
117+
"nb",
112118
"nim",
113119
"nix",
114-
"m",
115-
"h",
116-
"ml",
117-
"mli",
120+
"oot",
118121
"oz",
119-
"pir",
120-
"pasm",
121122
"pas",
122-
"pp",
123-
"pl",
124-
"pm",
123+
"pasm",
125124
"perl",
126125
"php",
127126
"phtml",
128127
"pike",
128+
"pir",
129+
"pl",
130+
"pm",
129131
"pmod",
130-
"ps1",
131-
"psm1",
132-
"psd1",
132+
"pp",
133133
"pro",
134-
"pl",
135134
"prolog",
136-
"pp",
135+
"ps1",
136+
"psd1",
137+
"psm1",
137138
"purs",
138139
"py",
139140
"pyw",
140141
"qs",
141142
"r",
142-
"rmd",
143-
"rdata",
144-
"rkt",
145-
"rktl",
146143
"raku",
147144
"rakumod",
148145
"rakutest",
146+
"rb",
147+
"rbw",
148+
"rdata",
149149
"re",
150-
"res",
151150
"red",
152151
"reds",
153-
"rexx",
152+
"res",
154153
"rex",
154+
"rexx",
155155
"ring",
156+
"rkt",
157+
"rktl",
158+
"rlib",
159+
"rm",
160+
"rmd",
156161
"roff",
157162
"ron",
158-
"rm",
159-
"ms",
160-
"rb",
161-
"ruby",
162-
"rbw",
163163
"rs",
164-
"rlib",
164+
"ruby",
165+
"s",
165166
"sas",
166-
"scala",
167+
"sb",
168+
"sb2",
169+
"sb3",
167170
"sc",
171+
"scala",
172+
"scd",
168173
"scm",
169-
"ss",
170-
"sb3",
174+
"scss",
175+
"sass",
176+
"sh",
171177
"shen",
172-
"st",
178+
"sig",
179+
"sml",
173180
"sol",
174181
"sql",
175-
"sml",
176-
"sig",
177-
"scd",
178-
"sc",
182+
"ss",
183+
"st",
184+
"sv",
179185
"swift",
180-
"tcl",
181186
"t",
182-
"tu",
183-
"oot",
187+
"tcl",
188+
"tf",
189+
"trigger",
184190
"ts",
185191
"tsx",
192+
"tu",
193+
"v",
186194
"vala",
187195
"vapi",
196+
"vb",
188197
"vba",
189-
"bas",
190-
"v",
191-
"sv",
198+
"vbx",
192199
"vhd",
193200
"vhdl",
194-
"vb",
195-
"vbx",
196-
"zig",
197-
// End of Stack Overflow list, add other relevant file extensions as needed starting next line
198-
"json",
199-
"md",
200-
"scss",
201-
"bat",
202-
"cmake",
203-
"f03",
204-
"f08",
205-
"f77",
206-
"for",
207-
"gql",
208-
"graphql",
209-
"gs",
210-
"gsp",
211-
"gsx",
212-
"jsx",
213-
"mak",
214-
"makefile",
215-
"sb",
216-
"sb2",
217-
"tf",
201+
"vue",
202+
"x",
203+
"xc",
204+
"xi",
218205
"xml",
219206
"yaml",
220-
"vue"
207+
"yml",
208+
"zig"
221209
)
222210
}

0 commit comments

Comments
 (0)