Skip to content

Instantly share code, notes, and snippets.

@shrop
Last active February 8, 2024 18:06
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shrop/69712d71945972f094d085764b9e0723 to your computer and use it in GitHub Desktop.
Save shrop/69712d71945972f094d085764b9e0723 to your computer and use it in GitHub Desktop.
Visual Studio Code settings
{
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always"
}
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "cmd+0",
"command": "workbench.action.zoomReset"
}
]
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug (DDEV)",
"type": "php",
"request": "launch",
"port": 11011,
"pathMappings": {
"/var/www/html": "${workspaceRoot}",
},
"log": false
},
{
"name": "Listen for XDebug (Vagrant)",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/home/vagrant/docroot": "${workspaceFolder}",
},
"log": false
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
{
"workbench.startupEditor": "newUntitledFile",
"editor.minimap.enabled": false,
"editor.renderWhitespace": "boundary",
"editor.selectionHighlight": true,
"editor.tabSize": 2,
"editor.rulers": [
80,
120
],
"telemetry.enableTelemetry": false,
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"php": "html"
},
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.module": "php",
"*.engine": "php",
"*.inc": "php",
"*.profile": "php",
"*.theme": "php",
"*.make": "php",
"*.test": "php",
"*.info": "php",
"*.install": "php"
},
"php.suggest.basic": false,
"php.validate.run": "onType",
"phpSniffer.autoDetect": true,
"phpSniffer.standard": "Drupal",
"emptyIndent.removeIndent": true,
"emptyIndent.highlightIndent": false,
"emptyIndent.highlightColor": "rgba(246,36,89,0.6)",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.keymap": "chorded",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"[javascript]": {
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.formatOnSave": true
},
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"prettier.requireConfig": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": true,
"source.fixAll.stylelint": true
},
"workbench.colorTheme": "Xcode 11 Default Dark",
"dart.openDevTools": "flutter",
"dart.previewEmbeddedDevTools": true,
"intelephense.telemetry.enabled": false,
"editor.fontFamily": "'SF Mono Powerline', Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
"markdown.preview.fontSize": 14,
"terminal.integrated.fontSize": 14,
"liveServer.settings.donotShowInfoMsg": true,
"liveSassCompile.settings.generateMap": true,
"liveSassCompile.settings.formats": [
{
"format": "compressed",
"extensionName": ".min.css",
"savePath": null
}
],
"redhat.telemetry.enabled": false,
"editor.largeFileOptimizations": false,
"git.autofetch": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment