Skip to content

Instantly share code, notes, and snippets.

@kruzyk
Last active February 26, 2024 04:34
Show Gist options
  • Select an option

  • Save kruzyk/ce7e3d06d48ba220f577058efaf33c23 to your computer and use it in GitHub Desktop.

Select an option

Save kruzyk/ce7e3d06d48ba220f577058efaf33c23 to your computer and use it in GitHub Desktop.
Visual Studio Code settings
{
// WYGLĄD:
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Tomorrow Night Bright Operator Mono",
"workbench.sideBar.location": "right",
"editor.wordWrap": "on",
// "editor.fontFamily": "Operator Mono SSm Lig",
"editor.fontFamily": "Cascadia Code",
"editor.fontLigatures": true,
// "editor.fontWeight": "300", // Light
// "editor.fontWeight": "400", // Regular
// "editor.fontWeight": "500", // Medium
// "editor.fontWeight": "600", // Bold
"editor.multiCursorModifier": "ctrlCmd",
// "editor.largeFileOptimizations": false,
"editor.cursorBlinking": "expand",
"workbench.colorCustomizations": {
// #ffff00
"editorCursor.foreground": "#ff0000",
"terminalCursor.foreground": "#ff0000"
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
// znaczniki komentarzy
"scope": "punctuation.definition.comment",
"settings": {
"fontStyle": "italic",
"foreground": "#ff0000",
}
},
{
// komentarze w smarty
"scope": [
"punctuation.definition.comment.smarty",
"comment.block.smarty"
],
"settings": {
"fontStyle": "italic",
"foreground": "#557c9b",
}
},
// {
// // treść komentarza w jednej linii
// "scope": "comment.line.double-slash.js",
// "settings": {
// "fontStyle": "italic",
// "foreground": "#C69650",
// }
// },
{
// komentarz blokowy
"scope": "comment.block.documentation",
"settings": {
"fontStyle": "",
"foreground": "#215732",
}
},
{
"scope": "storage.type.class.jsdoc",
"settings": {
"fontStyle": "",
// "foreground": "#ff0000",
}
},
{
"scope": "entity.name.type.instance.jsdoc",
"settings": {
"fontStyle": "",
"foreground": "#51A825",
}
}
]
},
"editor.cursorWidth": 4,
"editor.dragAndDrop": false,
"window.zoomLevel": -1,
"editor.fontSize": 14,
"editor.matchBrackets": false,
"editor.renderIndentGuides": false,
//
"guides.active.extraIndent": true,
"guides.active.gutter": true,
"guides.active.width": 2,
"guides.indent.hideBackgroundOnSelection": false,
"guides.normal.hideOnSelection": false,
"guides.overrideDefault": true,
//
"guides.enabled": true,
"breadcrumbs.enabled": true,
"files.eol": "\n",
"editor.renderWhitespace": "all",
"editor.tabCompletion": "on",
"editor.formatOnPaste": true,
"editor.formatOnType": false,
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 5000,
"editor.colorDecorators": false,
// When I accidentally hit copy without selecting anything and it overrides my clipboard - ugh.
"editor.emptySelectionClipboard": false,
"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
"editor.quickSuggestions": {
"comments": true
},
// Give it to me as fast as you have it.
"editor.quickSuggestionsDelay": 0,
// GIT:
"git.path": "C:\\Program Files\\Git\\bin\\git.exe",
"git.autofetch": true,
"git.rebaseWhenSync": true,
// TERMINAL:
"terminal.external.windowsExec": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": [
"/K",
"C:\\Cmder\\vscode.bat"
],
"terminal.integrated.fontSize": 12,
"terminal.integrated.fontFamily": "Hack Regular,Anonymous Pro for Powerline,Fira Code,Cascadia Code",
"terminal.integrated.fontWeightBold": "normal",
"terminal.integrated.cursorStyle": "underline",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.rightClickBehavior": "paste",
// LINTERY/prettiery:
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// "eslint.autoFixOnSave": true,
// "prettier.eslintIntegration": true,
"emmet.triggerExpansionOnTab": true,
// SMARTY:
"emmet.includeLanguages": {
"smarty": "html"
},
"emmet.syntaxProfiles": {
"tpl": "html",
"smarty": "html"
},
"files.associations": {
"*.tpl": "smarty",
".php_cs": "php",
".php_cs.dist": "php",
"*.php": "php"
},
// PHP:
"php.suggest.basic": false,
"php.validate.executablePath": "C:\\php-7.2.23-Win32-VC15-x64\\php.exe",
"php.executablePath": "C:\\php-7.2.23-Win32-VC15-x64\\php.exe",
// "php-cs-fixer.executablePath": "C:\\Users\\Admin\\AppData\\Roaming\\Composer\\vendor\\bin\\php-cs-fixer.bat",
"php-cs-fixer.executablePathWindows": "C:\\Users\\Admin\\AppData\\Roaming\\Composer\\vendor\\bin\\php-cs-fixer.bat",
"php-cs-fixer.onsave": true,
// "php-cs-fixer.rules": "@PSR2",
"php-cs-fixer.config": ".php_cs;",
"php-cs-fixer.executablePath": "${extensionPath}\\php-cs-fixer.phar",
"php-cs-fixer.lastDownload": 1574071306396,
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.formatOnSave": true
},
// PLUGINY:
"cSpell.language": "pl, en",
"better-comments.highlightPlainText": true,
//Number represents total amount of changes until a info level message triggers
"r2g.reminderInfoLevel": 1,
// Same as info but a warning level message trigger
"r2g.reminderWarningLevel": 2,
//This value specifies the timeout (in seconds) until a trigger (and levels below) can trigger again after it's been activated
"r2g.reminderTimeout": 1,
// "sftp.printDebugLog": true,
"auto-close-tag.activationOnLanguage": [
"*"
],
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
"todohighlight.keywords": [
"DEBUG:",
"REVIEW:",
{
"text": "NOTE:",
"color": "#ff0000",
"backgroundColor": "yellow",
"overviewRulerColor": "grey"
},
{
"text": "HACK:",
"color": "#000",
"isWholeLine": false
},
{
"text": "TODO:",
"cursor": "pointer",
"color": "red",
"border": "1px solid red",
"borderRadius": "2px", //NOTE: using borderRadius along with `border` or you will see nothing change
"backgroundColor": "rgba(0,0,0,.2)"
//other styling properties goes here ...
}
],
"todohighlight.defaultStyle": {
"color": "red",
"backgroundColor": "#ffab00",
"overviewRulerColor": "#ffab00",
"cursor": "pointer",
"border": "1px solid #eee",
"borderRadius": "2px",
"isWholeLine": true
//other styling properties goes here ...
},
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.tpl",
"**/*.css",
"**/*.php",
"**/*.scss"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.svn/**",
"**/.git/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"todohighlight.maxFilesForSearch": 5120,
"todohighlight.toggleURI": false,
// Bracket Pair Colorizer 1:
// "bracketPairColorizer.activeScopeCSS": [
// "borderStyle : solid",
// "borderWidth : 1px",
// "borderColor : {color}; opacity: 0.5",
// "backgroundColor : #56E291; opacity: 0.9"
// ],
// Bracket Pair Colorizer 2:
"bracket-pair-colorizer-2.colors": [
// "Gold",
// "Orchid",
// "LightSkyBlue",
"#e6b422", //
"#c70067",
"#00a960",
"#fc7482",
"#33ccff", //
"#8080ff",
"#0073a8",
"#d4d4aa", //
"#d1a075",
"#9c6628"
],
"bracket-pair-colorizer-2.colorMode": "Consecutive",
"bracket-pair-colorizer-2.highlightActiveScope": true,
"bracket-pair-colorizer-2.activeScopeCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}",
"opacity: 0.5"
],
"bracket-pair-colorizer-2.scopeLineCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}",
"opacity: 0.5"
],
"bracket-pair-colorizer-2.showBracketsInGutter": false,
"bracket-pair-colorizer-2.showBracketsInRuler": true,
"bracket-pair-colorizer-2.rulerPosition": "Center",
"bracket-pair-colorizer-2.showVerticalScopeLine": true,
"bracket-pair-colorizer-2.showHorizontalScopeLine": true,
"bracket-pair-colorizer-2.scopeLineRelativePosition": true,
// subtleBrackets:
"subtleBrackets.style": {
"borderWidth": "1px",
"borderStyle": "solid",
"backgroundColor": "rgba(86, 226, 145, 0.9)",
"borderColor": "#56E291",
"fontWeight": "bold",
"color": "#131618"
},
"subtleBrackets.pairs": [
{
"open": "(",
"close": ")"
},
{
"open": "[",
"close": "]"
},
{
"open": "{",
"close": "}"
},
{
"open": "<",
"close": ">"
},
],
"peacock.affectActivityBar": false,
"peacock.affectTabActiveBorder": true,
"peacock.showColorInStatusBar": false,
"peacock.favoriteColors": [
{
"name": "Angular Red",
"value": "#b52e31"
},
{
"name": "Auth0 Orange",
"value": "#eb5424"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "C# Purple",
"value": "#68217A"
},
{
"name": "Gatsby Purple",
"value": "#639"
},
{
"name": "Go Cyan",
"value": "#5dc9e2"
},
{
"name": "Java Blue-Gray",
"value": "#557c9b"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#00b3e6"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Vue Green",
"value": "#42b883"
}
],
"todo-tree.highlights.enabled": true,
"color-highlight.matchWords": false,
"color-highlight.markRuler": false,
}
// Export extensions:
// code --list-extensions | xargs -L 1 echo code --install-extension
// Install extensions:
// code --install-extension 2gua.rainbow-brackets
// code --install-extension aaron-bond.better-comments
// code --install-extension alefragnani.Bookmarks
// code --install-extension bmewburn.vscode-intelephense-client
// code --install-extension ChakrounAnas.turbo-console-log
// code --install-extension chiragpat.tomorrow-and-tomorrow-night-operator-mono-theme
// code --install-extension christian-kohler.path-intellisense
// code --install-extension codemooseus.vscode-devtools-for-chrome
// code --install-extension CoenraadS.bracket-pair-colorizer
// code --install-extension CoenraadS.bracket-pair-colorizer-2
// code --install-extension dbaeumer.vscode-eslint
// code --install-extension donjayamanne.githistory
// code --install-extension donjayamanne.jquerysnippets
// code --install-extension eamodio.gitlens
// code --install-extension Equinusocio.vsc-material-theme
// code --install-extension esbenp.prettier-vscode
// code --install-extension felixfbecker.php-debug
// code --install-extension felixfbecker.php-intellisense
// code --install-extension felixfbecker.php-pack
// code --install-extension formulahendry.auto-close-tag
// code --install-extension formulahendry.auto-rename-tag
// code --install-extension Gruntfuggly.todo-tree
// code --install-extension imperez.smarty
// code --install-extension johnpapa.vscode-peacock
// code --install-extension joshpeng.sublime-babel-vscode
// code --install-extension junstyle.php-cs-fixer
// code --install-extension liximomo.sftp
// code --install-extension mde.select-highlight-minimap
// code --install-extension mhutchie.git-graph
// code --install-extension msjsdiag.debugger-for-chrome
// code --install-extension naumovs.color-highlight
// code --install-extension naumovs.theme-oceanicnext
// code --install-extension oderwat.indent-rainbow
// code --install-extension PKief.material-icon-theme
// code --install-extension rafamel.subtle-brackets
// code --install-extension RobbOwen.synthwave-vscode
// code --install-extension spywhere.guides
// code --install-extension streetsidesoftware.code-spell-checker
// code --install-extension tombonnike.vscode-status-bar-format-toggle
// code --install-extension vector-of-bool.gitflow
// code --install-extension WakaTime.vscode-wakatime
// code --install-extension wayou.vscode-todo-highlight
// code --install-extension wcwhitehead.bootstrap-3-snippets
// code --install-extension xabikos.JavaScriptSnippets
// code --install-extension Zignd.html-css-class-completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment