Skip to content

Instantly share code, notes, and snippets.

@jubayer-webdev
Created August 21, 2024 02:11
Show Gist options
  • Select an option

  • Save jubayer-webdev/64ac474cebd5e732ab1b22218327d648 to your computer and use it in GitHub Desktop.

Select an option

Save jubayer-webdev/64ac474cebd5e732ab1b22218327d648 to your computer and use it in GitHub Desktop.
Learn with sumit: https://github.com/learnwithsumit/vs-code-settings-extensions?tab=readme-ov-file
Youtube: https://youtu.be/3iG1IBJHTgE?si=IlXCXIW5HI20CqOv
@21-Aug-2024
{
// editor
"editor.fontSize": 17,
"editor.fontFamily": "Fira Code, Operator Mono",
"editor.fontWeight": "normal",
"explorer.confirmDragAndDrop": false,
"editor.stickyScroll.enabled": false,
"editor.wordWrap": "on",
"editor.minimap.showSlider": "always",
"editor.minimap.size": "fill",
"editor.accessibilitySupport": "off",
"files.autoSave": "afterDelay",
// https://github.com/learnwithsumit/vs-code-settings-extensions/blob/master/settings.json
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
},
// cursor
"editor.cursorBlinking": "expand",
"editor.cursorSmoothCaretAnimation": "on",
// terminal
"terminal.integrated.fontSize": 17,
"terminal.integrated.defaultProfile.windows": "Git Bash",
"workbench.startupEditor": "none",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Learn with Sumit - Shades of Grey",
"security.workspace.trust.untrustedFiles": "open",
"code-runner.runInTerminal": true,
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "cd $dir && dotnet run $fileName",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runhaskell",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style expanded",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
},
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.AdvanceCustomBrowserCmdLine": "",
"javascript.updateImportsOnFileMove.enabled": "always",
"cSpell.userWords": ["paginations", "unreads"],
// config related to code formatting
"prettier.tabWidth": 4,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[cpp]": {},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
// https://github.com/learnwithsumit/vs-code-settings-extensions/blob/master/settings.json
// terminal customization
"workbench.colorCustomizations": {
"terminal.background": "#1D2021",
// "terminal.foreground": "#A89984",
"terminalCursor.background": "#A89984",
"terminalCursor.foreground": "#A89984",
"terminal.ansiBlack": "#1D2021",
"terminal.ansiBlue": "#0D6678",
"terminal.ansiBrightBlack": "#665C54",
"terminal.ansiBrightBlue": "#0D6678",
"terminal.ansiBrightCyan": "#8BA59B",
"terminal.ansiBrightGreen": "#95C085",
"terminal.ansiBrightMagenta": "#ac4082",
"terminal.ansiBrightRed": "#FB543F",
"terminal.ansiBrightWhite": "#FDF4C1",
"terminal.ansiBrightYellow": "#FAC03B",
// "terminal.ansiCyan": "#8BA59B",
"terminal.ansiGreen": "#44ff00",
"terminal.ansiMagenta": "#cf3494",
"terminal.ansiRed": "#FB543F",
"terminal.ansiWhite": "#A89984",
"terminal.ansiYellow": "#FAC03B"
}
}
@jubayer-webdev
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment