Skip to content

Commit 2bc3f8a

Browse files
Merge master into feature/serverlessland
2 parents 0fd9ceb + b398769 commit 2bc3f8a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Amazon Q /dev: support `.hbs`, `.gjs`, `.gts`, `.astro`, `.mdx`, `.svelte`, `.erb`, `.rake` files"
4+
}

packages/core/src/shared/filetypes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export const codefileExtensions = new Set([
155155
'.ads',
156156
'.apl',
157157
'.asm',
158+
'.astro',
158159
'.awk',
159160
'.b',
160161
'.bas',
@@ -195,6 +196,7 @@ export const codefileExtensions = new Set([
195196
'.el',
196197
'.elm',
197198
'.env',
199+
'.erb',
198200
'.erl',
199201
'.ex',
200202
'.exs',
@@ -211,6 +213,7 @@ export const codefileExtensions = new Set([
211213
'.fsx',
212214
'.gd',
213215
'.gitignore',
216+
'.gjs',
214217
'.go',
215218
'.gql',
216219
'.gradle',
@@ -220,9 +223,11 @@ export const codefileExtensions = new Set([
220223
'.gsp',
221224
'.gst',
222225
'.gsx',
226+
'.gts',
223227
'.gvy',
224228
'.h',
225229
'.hack',
230+
'.hbs',
226231
'.hh',
227232
'.hpp',
228233
'.hrl',
@@ -253,6 +258,7 @@ export const codefileExtensions = new Set([
253258
'.mak',
254259
'.makefile',
255260
'.md',
261+
'.mdx',
256262
'.mjs',
257263
'.ml',
258264
'.mli',
@@ -289,6 +295,7 @@ export const codefileExtensions = new Set([
289295
'.pyw',
290296
'.qs',
291297
'.r',
298+
'.rake',
292299
'.raku',
293300
'.rakumod',
294301
'.rakutest',
@@ -331,6 +338,7 @@ export const codefileExtensions = new Set([
331338
'.ss',
332339
'.st',
333340
'.sv',
341+
'.svelte',
334342
'.svg',
335343
'.swift',
336344
'.t',

0 commit comments

Comments
 (0)