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 [2020/02/10 10:03] 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 26: | Ligne 26: | ||
| <code> | <code> | ||
| { | { | ||
| - | "Insert describe": { | + | "Insert describe": { |
| - | "prefix": "descr", | + | "prefix": "descr", |
| - | "body": [ | + | "body": [ |
| - | "describe(\"$1\", function() {", | + | "describe(\"$1\", function() {", |
| - | "it(\"$2\", function() {", | + | "it(\"$2\", function() {", |
| - | "const $3 = $4;", | + | "const $3 = $4;", |
| - | "", | + | "", |
| - | "expect().to.equal();", | + | "expect().to.equal();", |
| - | "});", | + | "});", |
| - | "});", | + | "});", |
| - | ] | + | ] |
| - | } | + | } |
| } | } | ||
| </code> | </code> | ||
| Ligne 44: | Ligne 44: | ||
| <code> | <code> | ||
| { | { | ||
| - | "Insert it": { | + | "Insert it": { |
| - | "prefix": "it", | + | "prefix": "it", |
| - | "body": [ | + | "body": [ |
| - | "it(\"$1\", function() {", | + | "it(\"$1\", function() {", |
| - | "const $2 = $3;", | + | "const $2 = $3;", |
| - | "", | + | "", |
| - | "expect().to.equal();", | + | "expect().to.equal();", |
| - | "});", | + | "});", |
| - | + | ] | |
| - | ] | + | } |
| - | } | + | |
| } | } | ||
| </code> | </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> | ||
