156 lines
5.5 KiB
JSON
156 lines
5.5 KiB
JSON
{
|
|
"window.zoomLevel": 1, // Permet de zoomer, pratique si vous faites une présentation
|
|
// Apparence
|
|
// -- Editeur
|
|
"workbench.startupEditor": "none", // On ne veut pas une page d'accueil chargée
|
|
"editor.minimap.enabled": true, // On veut voir la minimap
|
|
"editor.minimap.showSlider": "always", // On veut voir la minimap
|
|
"editor.minimap.size": "fill", // On veut voir la minimap
|
|
"editor.minimap.scale": 1,
|
|
"editor.tokenColorCustomizations": {
|
|
"textMateRules": [
|
|
{
|
|
"scope": [
|
|
"storage.type.function",
|
|
"storage.type.class"
|
|
],
|
|
"settings": {
|
|
"fontStyle": "bold",
|
|
"foreground": "#4B9CD3"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"editor.minimap.renderCharacters": true,
|
|
"editor.minimap.maxColumn": 120,
|
|
"breadcrumbs.enabled": true,
|
|
|
|
// -- Tabs
|
|
"workbench.editor.wrapTabs": true, // On veut voir les tabs
|
|
"workbench.editor.tabSizing": "shrink", // On veut voir les tabs
|
|
"workbench.editor.pinnedTabSizing": "compact",
|
|
"workbench.editor.enablePreview": false, // Un clic sur un fichier l'ouvre
|
|
|
|
// -- Sidebar
|
|
"workbench.tree.indent": 15, // Indente plus pour plus de clarté dans la sidebar
|
|
"workbench.tree.renderIndentGuides": "always",
|
|
// -- Code
|
|
"editor.occurrencesHighlight": "singleFile", // On veut voir les occurences d'une variable
|
|
"editor.renderWhitespace": "trailing", // On ne veut pas laisser d'espace en fin de ligne
|
|
"editor.renderControlCharacters": true, // On veut voir les caractères de contrôle
|
|
// Thème
|
|
"editor.fontFamily": "'JetBrains Mono', 'Fira Code', 'Operator Mono Lig', monospace",
|
|
"editor.fontLigatures": false,
|
|
"editor.fontSize": 13,
|
|
"editor.lineHeight": 22,
|
|
"editor.guides.bracketPairs": "active",
|
|
// Ergonomie
|
|
"editor.wordWrap": "off",
|
|
"editor.rulers": [300],
|
|
"editor.wordWrapColumn": 300,
|
|
"editor.suggest.insertMode": "replace", // L'autocomplétion remplace le mot en cours
|
|
"editor.acceptSuggestionOnCommitCharacter": false, // Evite que l'autocomplétion soit accepté lors d'un . par exemple
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true,
|
|
"editor.linkedEditing": true, // Quand on change un élément HTML, change la balise fermante
|
|
"editor.tabSize": 2,
|
|
"editor.unicodeHighlight.nonBasicASCII": false,
|
|
"[php]": {
|
|
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true
|
|
},
|
|
"intelephense.format.braces": "k&r",
|
|
"intelephense.format.enable": true,
|
|
"php.validate.executablePath": "/opt/homebrew/opt/php@8.3/bin/php",
|
|
"php.executablePath": "/opt/homebrew/opt/php@8.3/bin/php",
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true
|
|
},
|
|
"prettier.printWidth": 360,
|
|
"prettier.semi": true,
|
|
"prettier.singleQuote": true,
|
|
"prettier.tabWidth": 2,
|
|
"prettier.trailingComma": "es5",
|
|
"explorer.autoReveal": false,
|
|
"explorer.confirmDragAndDrop": false,
|
|
"emmet.triggerExpansionOnTab": true,
|
|
"emmet.includeLanguages": {
|
|
"javascript": "javascript",
|
|
"php": "php",
|
|
"svelte": "html",
|
|
"dart": "dart"
|
|
},
|
|
"problems.decorations.enabled": true,
|
|
"explorer.decorations.colors": true,
|
|
"explorer.decorations.badges": true,
|
|
"php.validate.enable": true,
|
|
"php.suggest.basic": false,
|
|
"dart.analysisExcludedFolders": [],
|
|
"dart.enableSdkFormatter": true,
|
|
// Fichiers
|
|
"files.defaultLanguage": "markdown",
|
|
"files.autoSaveWorkspaceFilesOnly": true,
|
|
"files.exclude": {
|
|
"**/.idea": true
|
|
},
|
|
// Languages
|
|
"javascript.preferences.importModuleSpecifierEnding": "js",
|
|
"typescript.preferences.importModuleSpecifierEnding": "js",
|
|
// Extensions
|
|
"tailwindCSS.experimental.configFile": "web/tailwind.config.js",
|
|
"editor.quickSuggestions": {
|
|
"strings": true
|
|
},
|
|
"[svelte]": {
|
|
"editor.defaultFormatter": "svelte.svelte-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"prettier.documentSelectors": [
|
|
"**/*.svelte"
|
|
],
|
|
"svelte.plugin.svelte.diagnostics.enable": false,
|
|
"js/ts.implicitProjectConfig.checkJs": false,
|
|
"svelte.enable-ts-plugin": false,
|
|
"cline.autoApproveLimit": 100,
|
|
"cline.autoApproveRequests": true,
|
|
"cline.enableMemoryBank": true,
|
|
"cline.includeSnippetsFromMemory": true,
|
|
"cline.contextLength": 10000,
|
|
"cline.autoFormat": true,
|
|
"cline.primaryDocumentationFile": ".cline",
|
|
"cline.gitIntegration": true,
|
|
"cline.projectStructure": {
|
|
"api": "php",
|
|
"app": "flutter",
|
|
"web": "svelte"
|
|
},
|
|
"cline.referenceFiles": {
|
|
"database": "docs/db-resalice.dump",
|
|
"apiEndpoints": "docs/api_endpoints.md",
|
|
"architecture": "docs/architecture.md"
|
|
},
|
|
"cline.databaseSchema": "docs/db-resalice.dump",
|
|
"peacock.color": "#42b883",
|
|
"workbench.colorCustomizations": {
|
|
"activityBar.activeBackground": "#65c89b",
|
|
"activityBar.background": "#65c89b",
|
|
"activityBar.foreground": "#15202b",
|
|
"activityBar.inactiveForeground": "#15202b99",
|
|
"activityBarBadge.background": "#945bc4",
|
|
"activityBarBadge.foreground": "#e7e7e7",
|
|
"commandCenter.border": "#15202b99",
|
|
"sash.hoverBorder": "#65c89b",
|
|
"statusBar.background": "#42b883",
|
|
"statusBar.foreground": "#15202b",
|
|
"statusBarItem.hoverBackground": "#359268",
|
|
"statusBarItem.remoteBackground": "#42b883",
|
|
"statusBarItem.remoteForeground": "#15202b",
|
|
"titleBar.activeBackground": "#42b883",
|
|
"titleBar.activeForeground": "#15202b",
|
|
"titleBar.inactiveBackground": "#42b88399",
|
|
"titleBar.inactiveForeground": "#15202b99"
|
|
}
|
|
} |