VS Code
Mes snippets :
check-symbol
{
"Check symbol": {
"prefix": "check",
"body": "✔"
}
}
cross-symbol
{
"Cross symbol": {
"prefix": "cross",
"body": "✘"
}
}
describe
{
"Insert describe": {
"prefix": "descr",
"body": [
"describe(\"$1\", function() {",
"it(\"$2\", function() {",
"const $3 = $4;",
"",
"expect().to.equal();",
"});",
"});",
]
}
}
it
{
"Insert it": {
"prefix": "it",
"body": [
"it(\"$1\", function() {",
"const $2 = $3;",
"",
"expect().to.equal();",
"});",
]
}
}
Ma config sous Ubuntu
{
"diffEditor.renderSideBySide": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontFamily": "Operator Mono",
"editor.fontSize": 16,
"editor.fontWeight": "500",
"editor.formatOnSave": false,
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.minimap.enabled": false,
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
80
],
"editor.snippetSuggestions": "top",
"editor.tabCompletion": "on",
"editor.tabSize": 2,
"editor.wordWrap": "on",
"explorer.confirmDragAndDrop": false,
"extensions.ignoreRecommendations": false,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"emmet.triggerExpansionOnTab": true,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true
},
"guides.active.color.dark": "#ffc600",
"guides.active.style": "dotted",
"guides.normal.color.dark": "rgba(158, 158, 158, 0.2)",
"guides.normal.style": "dotted",
"guides.stack.color.dark": "rgba(158, 158, 158, 0.2)",
"guides.stack.style": "dotted",
"javascript.validate.enable": false,
"prettier.arrowParens": "always",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.gist": "24dd0ffbaabb342fad65e74f1027bcdb",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"terminal.integrated.fontSize": 16,
"terminal.integrated.rendererType": "dom",
"window.zoomLevel": 0,
"workbench.colorTheme": "Cobalt2",
"workbench.colorCustomizations": {
"editorIndentGuide.background": "#ffc600", // indent guide color
"editorWhitespace.foreground": "#193549" // theme background
},
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "newUntitledFile",
"explorer.confirmDelete": false,
"cSpell.language": "en,fr",
"cSpell.userWords": [
"Refactorisation",
"iframes"
]
}
