Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
vs_code [2019/12/18 11:29] Yoh |
vs_code [2020/02/10 10:08] (Version actuelle) Yoh [Mes snippets :] |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== VS Code ====== | ====== VS Code ====== | ||
| - | Mes snippets : | + | ===== Mes snippets : ===== |
| check-symbol | check-symbol | ||
| Ligne 20: | Ligne 20: | ||
| "body": "✘" | "body": "✘" | ||
| } | } | ||
| + | } | ||
| + | </code> | ||
| + | |||
| + | describe | ||
| + | <code> | ||
| + | { | ||
| + | "Insert describe": { | ||
| + | "prefix": "descr", | ||
| + | "body": [ | ||
| + | "describe(\"$1\", function() {", | ||
| + | "it(\"$2\", function() {", | ||
| + | "const $3 = $4;", | ||
| + | "", | ||
| + | "expect().to.equal();", | ||
| + | "});", | ||
| + | "});", | ||
| + | ] | ||
| + | } | ||
| + | } | ||
| + | </code> | ||
| + | |||
| + | it | ||
| + | <code> | ||
| + | { | ||
| + | "Insert it": { | ||
| + | "prefix": "it", | ||
| + | "body": [ | ||
| + | "it(\"$1\", function() {", | ||
| + | "const $2 = $3;", | ||
| + | "", | ||
| + | "expect().to.equal();", | ||
| + | "});", | ||
| + | ] | ||
| + | } | ||
| + | } | ||
| + | </code> | ||
| + | |||
| + | ===== Ma config sous Ubuntu ===== | ||
| + | |||
| + | <code> | ||
| + | { | ||
| + | "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" | ||
| + | ] | ||
| } | } | ||
| </code> | </code> | ||
