Skip to content

Instantly share code, notes, and snippets.

@manudevcode
Last active August 2, 2023 18:10
Show Gist options
  • Save manudevcode/7c61586f4d73e449391e490a3f4b566c to your computer and use it in GitHub Desktop.
Save manudevcode/7c61586f4d73e449391e490a3f4b566c to your computer and use it in GitHub Desktop.
My favorite configuration for the vs code is simple or novice, but I like it.
// Install the folowing plugins
// Flutter and Flutter Snippets
// Carbon or Polacode
// Waka Time for productivity track
// Turbo Console Log
// ES7 React/Redux/GraphQL/React-Native snippets
// Material Theme
// Numbered Bookmarks
// Error Lens
// Git Lens
{
"window.commandCenter": true,
"editor.fontFamily": "Fira Code, monospace",
"editor.fontLigatures": true,
"breadcrumbs.enabled": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.tabSize": 2,
"editor.cursorWidth": 2,
"turboConsoleLog.quote": "'",
"turboConsoleLog.logMessagePrefix": "Log at 👉 ",
"workbench.colorCustomizations": {
"dropdown.background": "#2d3142",
"errorLens.hintForeground": "#30fffb",
"errorLens.errorForeground": "#FF2E97",
"errorLens.warningForeground": "#FDE74E",
"errorLens.infoForeground": "#D86BFF",
/*"debugToolBar.background": "#1c2a47",
"list.hoverForeground": "#ffffff",
"gitDecoration.modifiedResourceForeground": "#739efaff",
"gitDecoration.deletedResourceForeground": "#f06292ff",
"tab.unfocusedHoverBorder": "#84FFFF",
"activityBar.activeBorder": "#84FFFF",
"editorLineNumber.activeForeground": "#62DAFB",
"editorLineNumber.foreground": "#62dafb3a",
"editor.lineHighlightBorder": "#62dafb3a",
"editor.lineHighlightBackground": "#ff000000",
"editor.selectionBackground": "#1c2a47",
"editorIndentGuide.activeBackground": "#62DAFB",
"terminalCursor.background": "#0f111aff",
"terminalCursor.foreground": "#62DAFB",
"statusBar.debuggingBackground": "#62DAFB",
"dart.previewEmbeddedDevTools": true,*/
"[Bits Darka]": {
"editorError.foreground": "#ff76a6",
/* warning squggles */
"editorWarning.foreground": "#ffd476",
/* info squiggles */
"editorInfo.foreground": "#35ffab",
"list.inactiveSelectionBackground": "#D86BFF",
"list.inactiveFocusBackground": "#ffffff",
"list.errorForeground": "#ff76a6",
"debugConsole.errorForeground": "#ff76a6",
"debugConsole.infoForeground": "#42C6FF",
"debugConsole.warningForeground": "#ffd476",
"debugConsole.sourceForeground": "#42C6FF"
},
},
"numberedBookmarks.gutterIconFillColor": "#84FFFF",
"numberedBookmarks.gutterIconNumberColor": "#000",
"terminal.integrated.cursorStyle": "underline",
"terminal.integrated.cursorBlinking": true,
"editor.multiCursorModifier": "ctrlCmd",
"files.exclude": {
"**/node_modules": true
},
"todo-tree.highlights.enabled": false,
"todohighlight.keywords": [
{
"text": "TODO",
"backgroundColor": "#84FFFF",
"color": "#000",
},
{
"text": "NOTE",
"backgroundColor": "#fdb74e",
"color": "#000",
},
{
"text": "FIXME",
"backgroundColor": "#FF2E97",
"color": "#000",
},
{
"text": "FIX",
"backgroundColor": "#FF2E97",
"color": "#000",
},
],
"files.watcherExclude": {
"**/node_modules/**": false
},
"search.exclude": {
"**/node_modules": false
},
"git.enableSmartCommit": true,
"material-icon-theme.folders.theme": "classic",
"material-icon-theme.folders.color": "#84FFFF",
"workbench.iconTheme": "material-icon-theme",
"dart.debugSdkLibraries": false,
"carbon.fontSize": 14,
"diffEditor.ignoreTrimWhitespace": false,
"workbench.editor.wrapTabs": true,
"workbench.tree.indent": 19,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"css.validate": false,
"html.validate.styles": false,
"stylelint.enable": false,
"stylelint.config": {
"extends": "stylelint-config-recommended",
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extends",
"tailwind"
]
}
],
"block-no-empty": null,
"unit-whitelist": [
"em",
"rem",
"s"
]
}
},
"terminal.external.linuxExec": "xte",
"turboConsoleLog.addSemicolonInTheEnd": true,
"editor.hover.delay": 500,
"debug.inlineValues":"auto",
"workbench.startupEditor": "none",
"terminal.integrated.fontFamily": "Fira Code, monospace, MesloLGS NF",
"workbench.colorTheme": "Bits Darka",
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"REMOVE"
],
"dart.showInspectorNotificationsForWidgetErrors": false,
"security.workspace.trust.untrustedFiles": "open",
"git.autofetch": true,
"keyboard.touchbar.enabled": true,
"keyboard.touchbar.ignored": [
"workbench.action.navigateBack",
"workbench.action.navigateForward",
],
"nasc-touchbar.addCursorBelow": false,
"nasc-touchbar.blockComment": true,
"nasc-touchbar.commentLine": true,
"nasc-touchbar.toggleSidebar": true,
"nasc-touchbar.toggleWhiteSpace": true,
"editor.renderWhitespace": "none",
"nasc-touchbar.rename": false,
"[dart]": {
//"editor.formatOnType": true,
"editor.autoIndent": "brackets",
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"errorLens.messageTemplate": "$severity ($source) $message",
"errorLens.enabledDiagnosticLevels": [
"info",
"warning",
"hint",
"error"
],
"terminal.external.osxExec": "iTerm.app",
"debug.terminal.clearBeforeReusing": true,
"dart.debugExternalPackageLibraries": false,
"scm.inputFontSize": 12,
"markdown.preview.fontSize": 12,
"scss.validate": false,
"editor.largeFileOptimizations": false,
"go.toolsManagement.autoUpdate": true,
// "dart.previewLsp": true,
// "dart.extensionLogFile": null,
"editor.tokenColorCustomizations": {
"[Bits Darka]": {
"textMateRules": [
{
"scope": "source.go",
"settings": {
"foreground": "#e7e7e7",
}
},
{
"scope": "entity.name.function.go",
"settings": {
"foreground": "#CECECE",
"fontStyle": "italic"
}
},
{
"scope": [
"variable.other.assignment.go"
],
"settings": {
"foreground": "#CECECE",
}
},
{
"scope": [
"punctuation.definition.begin.bracket.round.go",
"punctuation.definition.end.bracket.round.go",
"punctuation.definition.begin.bracket.curly.go",
"punctuation.definition.end.bracket.curly.go",
"punctuation.definition.bracket.square.go",
],
"settings": {
"foreground": "#545C79",
"fontStyle": "bold"
}
},
{
"scope": "keyword.function.go",
"settings": {
"foreground": "#FE36FB",
"fontStyle": "bold italic"
}
},
{
"scope": "punctuation.other.period.go",
"settings": {
"foreground": "#F0F2FF",
}
},
{
"scope": "support.function.go",
"settings": {
"foreground": "#42C6FF",
"fontStyle": "italic"
}
},
{
"scope": "constant.language.go",
"settings": {
"foreground": "#FE36FB",
"fontStyle": "bold"
}
}
]
}
},
"json.schemas": [],
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"thunder-client.codeSnippetLanguage": "cs-httpclient",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
},
"editor.suggest.showMethods": true,
"editor.suggest.preview": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.snippetSuggestions": "top",
"redhat.telemetry.enabled": false,
"errorLens.scrollbarHackEnabled": true,
"editor.stickyScroll.enabled": true,
"workbench.productIconTheme": "fluent-icons",
"[python]": {
"editor.formatOnType": true
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.find.addExtraSpaceOnTop": false,
"interactiveSession.editor.fontSize": 11,
"aws.suppressPrompts": {
"regionAddAutomatically": true
},
"editor.accessibilitySupport": "off",
"editor.minimap.renderCharacters": false,
"workbench.editorAssociations": {
"git-rebase-todo": "default"
},
"update.showReleaseNotes": false,
"git.openRepositoryInParentFolders": "never",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment