{ "files.exclude": { ".github": true, ".vscode": true, ".well-known": true, "a/menu/node_modules": true, "node_modules": true, ".editorconfig": true }, "editor.wordWrap": "on" }
N.b.: Évitez de copier/coller en bloc ces paramètres, mais comprenez leur sens (Au besoin avec l'aide de votre L.A.*) et adaptez alors le contenu de votre fichier
{ "files.autoSave": "afterDelay", "editor.tabSize": 2, "php.validate.executablePath": "/opt/lampp/bin/php", "liveServer.settings.donotVerifyTags": true, "liveServer.settings.donotShowInfoMsg": true, "explorer.confirmDelete": false, "git.enableSmartCommit": true, "git.autofetch": true, "git.confirmSync": false, "gitProjectManager.baseProjectsFolders": [ "/opt/lampp/htdocs" ], "editor.wordWrap": "on", "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}$Winter CMS", "todo-tree.defaultHighlight": { "foreground": "green", "type": "none" }, "todo-tree.customHighlight": { "TODO": {}, "FIXME": {}, "2do": {} }, // List of tags "todo-tree.tags": [ "2do" ], "beautify.config":{ "indent_size": 2, "indent_char": " ", "css": { "indent_size": 2 }, }, "explorer.confirmDragAndDrop": false, "phpformatter.arguments": [ "--rules=@PSR2", // "--level=psr2", // "--fixers=linefeed,short_tag,indentation" ], "phpformatter.phpPath" : "/usr/local/bin/php", "phpformatter.pharPath" : "/usr/local/bin/php-cs-fixer", // "phpfmt.enable_auto_align": true, "phpformatter.composer": false, // "phpfmt.passes": [ // "PSR2KeywordsLowerCase", // "PSR2LnAfterNamespace", // "PSR2CurlyOpenNextLine", // "PSR2ModifierVisibilityStaticOrder", // "PSR2SingleEmptyLineAndStripClosingTag", // "ReindentSwitchBlocks" //], // "phpfmt.exclude": [ // "ReindentComments", // "StripNewlineWithinClassBody" //], //"phpfmt.psr2": false, "material-icon-theme.showWelcomeMessage": false, "codestream.notifications": "all", "codestream.showInStatusBar": "left", "codestream.team": "c57", "codestream.showMarkers": true, "codestream.avatars": true, "codestream.email": "votre@gmail.com", "guides.enabled": false, "codestream.muteAll": false, "codestream.openCommentOnSelect": true, "editor.largeFileOptimizations": false, "breadcrumbs.enabled": true, "autoAlign.enabled": { "csv": true, "bsv": true, "php": true }, "editor.multiCursorModifier": "ctrlCmd", "editor.minimap.enabled": true, "editor.renderWhitespace": "none", "editor.renderControlCharacters": false, "simple-php-cs-fixer.save": true, "simple-php-cs-fixer.config": "config/.php_cs.dist", }
Exemple pour une installation Windows-Laragon :
{
"files.autoSave": "afterDelay",
"editor.tabSize": 2,
"editor.wordWrap": "on",
"explorer.confirmDelete": false,
"terminal.integrated.shell.windows": "C:\\laragon\\bin\\cmder\\cmder.exe",
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${activeEditorMedium}",
"window.titleBarStyle": "custom",
"git.autofetch": true,
"window.zoomLevel": 0,
"auto-comment-blocks.singleLineBlockOnEnter": true,
"breadcrumbs.enabled": true,
"editor.largeFileOptimizations": false,
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"git.confirmSync": false,
"liveServer.settings.proxy": {
"enable": true,
"baseUri": "/",
"proxyUri": "http://localhost/"
},
"files.associations": {
"*.htm": "html"
},
"git.enableSmartCommit": true,
"editor.renderWhitespace": "none",
"explorer.confirmDragAndDrop": false,
"sftp.printDebugLog": true,
"fontAwesomeAutocomplete.patterns": [
"**/*.html",
"**/*.php"
],
"emmet.excludeLanguages": [
"markdown"
],
"twig-language.tabSize": 2,
"twig-language-2.tabSize": 2,
"open-file-from-path.matchFileName": true,
"prettier.eslintIntegration": true,
"prettier.jsxBracketSameLine": true,
"html.format.maxPreserveNewLines": 1,
"php.suggest.basic": false,
"php.validate.enable": false,
"phpfmt.detect_indent": true,
"phpfmt.enable_auto_align": true,
"phpmd.enabled": true,
"phpfmt.indent_with_space": 2,
"phpcbf.executablePath": "C:\\laragon\\www\\mvc\\vendor\\squizlabs\\php_codesniffer\\bin\\phpcbf.bat",
"pomodoro.tasks_file": "C:\\Users\\Li\\.vscode\\extensions\\yahya-gilany.vscode-pomodoro-1.0.3\\tasks.json",
"pomodoro.counter_to_long_break": 4,
"pomodoro.long_break_duarion": 20,
"workbench.statusBar.feedback.visible": false,
}