| Wrap to console.log(or any function name) by word or selection |
diff --git a/vscode-snippets/svelte.json b/vscode-snippets/svelte.json
new file mode 100644
index 0000000..219cba6
--- /dev/null
+++ b/vscode-snippets/svelte.json
@@ -0,0 +1,62 @@
+{
+ "list": {
+ "prefix": "list",
+ "description": "Svelte List",
+ "body": [
+ "",
+ "\t{#each ${1:items} as ${2:item}}",
+ "\t\t- {$2}
",
+ "\t{/each}",
+ "
"
+ ]
+ },
+ "sfc": {
+ "prefix": "sfc",
+ "description": "single file component",
+ "body": [
+ "",
+ "",
+ "$2",
+ "",
+ ""
+ ]
+ },
+ "pre": {
+ "prefix": "pre",
+ "description": "pre",
+ "body": [
+ "",
+ "\t{JSON.stringify(${1:data}, ${2:null}, ${3:2})}",
+ ""
+ ]
+ },
+ "log": {
+ "prefix": "c",
+ "description": "log value ",
+ "body": [
+ "console.log($0)"
+ ]
+ },
+ "script": {
+ "prefix": "script",
+ "description": "script tag",
+ "body": [
+ ""
+ ]
+ },
+ "script module": {
+ "prefix": "script module",
+ "description": "script module",
+ "body": [
+ ""
+ ]
+ }
+}
\ No newline at end of file
diff --git a/vscode-snippets/typescript.json b/vscode-snippets/typescript.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ b/vscode-snippets/typescript.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/vscode.json b/vscode.json
deleted file mode 100644
index 0cbc9f5..0000000
--- a/vscode.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "editor.wordWrap": "bounded",
- "editor.bracketPairColorization.enabled": true,
- "editor.guides.bracketPairs": "active",
- "javascript.updateImportsOnFileMove.enabled": "always",
- "editor.renderWhitespace": "all",
- // These are all my auto-save configs
- "editor.formatOnSave": true,
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- // turn it off for JS and JSX, we will do this via eslint
- "[javascript]": {
- "editor.formatOnSave": false,
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[javascriptreact]": {
- "editor.formatOnSave": false
- },
- // show eslint icon at bottom toolbar
- "eslint.alwaysShowStatus": true,
- // tell the ESLint plugin to run on save
- "editor.codeActionsOnSave": {
- "source.fixAll": true
- },
- "editor.tabSize": 2,
- "editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace, Fira Code Retina",
- "editor.fontLigatures": true,
- "editor.fontSize": 16,
- "editor.quickSuggestions": {
- "other": true,
- "comments": false,
- "strings": false
- },
- "files.exclude": {
- "**/.cache": true,
- "**/.DS_Store": true,
- "**/.git": true,
- "**/.hg": true,
- "**/.next": true,
- "**/.svn": true,
- "**/CVS": true,
- "**/dist": false
- },
- "emmet.showSuggestionsAsSnippets": true,
- "editor.snippetSuggestions": "top",
- "emmet.triggerExpansionOnTab": true,
- "editor.formatOnPaste": true,
- "editor.formatOnType": true,
- "svelte.enable-ts-plugin": true,
- "cSpell.diagnosticLevel": "Hint",
- "cSpell.userWords": ["Shellnut", "sveltejs", "Umami", "vite"],
- "git.autofetch": true,
- "git.mergeEditor": true,
- "editor.stickyScroll.enabled": true,
- "workbench.colorTheme": "SynthWave '84",
- "svelte.plugin.svelte.note-new-transformation": false,
- "workbench.iconTheme": "material-icon-theme",
- "window.zoomLevel": -1,
- "prettier.useTabs": true,
- "javascript.inlayHints.parameterTypes.enabled": true,
- "javascript.inlayHints.variableTypes.enabled": true,
- "javascript.inlayHints.propertyDeclarationTypes.enabled": true,
- "typescript.inlayHints.enumMemberValues.enabled": true,
- "typescript.inlayHints.propertyDeclarationTypes.enabled": true,
- "typescript.inlayHints.variableTypes.enabled": true,
- "typescript.inlayHints.functionLikeReturnTypes.enabled": true,
- "javascript.inlayHints.functionLikeReturnTypes.enabled": true,
- "typescript.inlayHints.parameterNames.enabled": "all",
- "javascript.inlayHints.parameterNames.enabled": "literals",
- "typescript.inlayHints.parameterTypes.enabled": true,
- "javascript.inlayHints.enumMemberValues.enabled": true,
- "editor.insertSpaces": false,
- "workbench.editor.labelFormat": "short",
- "explorer.compactFolders": false,
- "material-icon-theme.folders.color": "#43a047",
- "workbench.tree.indent": 12
-}