Skip to content

Commit aceae09

Browse files
committed
feat(objectLiteralCompletions): add fallbackVariant (disabled by default, but recommended)
1 parent edd9485 commit aceae09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/configurationType.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,11 @@ export type Configuration = {
293293
* @default true
294294
*/
295295
'objectLiteralCompletions.moreVariants': boolean
296+
/**
297+
* When `moreVariants` enabled, always add as fallback variant if other variant can't be derived
298+
* @default false
299+
*/
300+
'objectLiteralCompletions.fallbackVariant': boolean
296301
/**
297302
* For `objectLiteralCompletions.moreVariants`, wether to insert newline for objects / arrays
298303
* @default true

0 commit comments

Comments
 (0)