diff --git a/packages/minze-vscode/snippets/common.code-snippets b/packages/minze-vscode/snippets/common.code-snippets index 712826a1..c9e1f117 100644 --- a/packages/minze-vscode/snippets/common.code-snippets +++ b/packages/minze-vscode/snippets/common.code-snippets @@ -83,31 +83,15 @@ "options": { "scope": "javascript,typescript", "prefix": "_minze:options", - "body": ["options = {$0}"], + "body": [ + "options = {", + "\tcssReset: ${1:true},", + "\texposeAttrs: { exportparts: ${2:false}, rendered: ${3:false} }", + "}" + ], "description": "options" }, - "option:cssreset": { - "scope": "javascript,typescript", - "prefix": "_minze:option:cssreset", - "body": ["options = { cssReset: ${0:true} }"], - "description": "cssReset option" - }, - - "option:exportparts": { - "scope": "javascript,typescript", - "prefix": "_minze:option:exportparts", - "body": ["options = { exposeAttrs: { exportparts: ${0:true} } }"], - "description": "exportparts option" - }, - - "option:rendered": { - "scope": "javascript,typescript", - "prefix": "_minze:option:rendered", - "body": ["options = { exposeAttrs: { rendered: ${0:true} } }"], - "description": "rendered option" - }, - "expression": { "scope": "html,css", "prefix": "_minze:expression",