Skip to content

Commit

Permalink
✨ feat(vscode): vscode configuration
Browse files Browse the repository at this point in the history
Update configuration and include new snippets

CodelyTV/dotly#260
  • Loading branch information
AlbertoVf committed Oct 19, 2023
1 parent 1b4810f commit e39b792
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 298 deletions.
10 changes: 10 additions & 0 deletions editors/code/User/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,15 @@
{
"command": "hediet.vscode-drawio.export",
"key": "ctrl+alt+p"
},
{
"key": "ctrl+i",
"command": "-emojisense.quickEmoji",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+i",
"command": "-emojisense.quickEmojiTerminal",
"when": "terminalFocus"
}
]
295 changes: 0 additions & 295 deletions editors/code/User/settings.json

This file was deleted.

1 change: 1 addition & 0 deletions editors/code/User/settings.json
17 changes: 17 additions & 0 deletions editors/code/User/snippets/java.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Imprime": {
"prefix": "@sout",
"description": "Imprime. ",
"body": ["System.out.println(\"$1\");"]
},
"Main":{
"prefix":"@main",
"description": "Main class",
"body":[
"public class $TM_FILENAME_BASE {",
"\tpublic static void main(String[] args) {",
"\t}"
"}"
]
}
}
7 changes: 6 additions & 1 deletion editors/code/User/snippets/markdown.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@
"</style>",
"${0}"
],
}
},
"Tabla": {
"prefix": "@table",
"description": "Tabla. ",
"body": ["| $1 | $2 | $3 |", "| -- | -- | -- |", "| $4 | $5 | $6 |"],
},
}
21 changes: 19 additions & 2 deletions editors/code/User/snippets/yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,32 @@
"description": "Yaml format to print with puppeteer ",
"body": [
"puppeteer:",
"\tpdf:",
"\tpdf:"
"\t\tformat: A4",
"\t\tlandscape: ${3|false,true|}",
"\t\tdisplayHeaderFooter: ${4|true,false|}",
"\t\tmargin:",
"\t\t\ttop: ${1:1.5}cm",
"\t\t\tright: ${2:1.5}cm",
"\t\t\tbottom: ${1:1.5}cm",
"\t\t\tbottom: ${1:2.0}cm",
"\t\t\tleft: ${2:1.5}cm"
],
},
"puppeteer - markdown preview": {
"prefix": "@puppeteer",
"description": "Yaml format to print with puppeteer ",
"body": [
"puppeteer:",
"\tformat: A4",
"\tlandscape: ${1|false,true|}",
"\tdisplayHeaderFooter: ${2|true,false|}",
"\tfooterTemplate: \"<div style='font-size: 9px; font-family: monospace; margin: 0.5cm auto;'><span class='title'></span> - [<span class='pageNumber'></span>]</span></div>\"",
"\theaderTemplate: \"<div/>\"",
"\tmargin:",
"\t\ttop: 1.5cm",
"\t\tright: :1.5cm",
"\t\tbottom: 2.0cm",
"\t\tleft: 1.5cm"
],
}
}

0 comments on commit e39b792

Please sign in to comment.