Skip to content

Instantly share code, notes, and snippets.

@sh1kxrv
Last active February 3, 2023 10:41
Show Gist options
  • Save sh1kxrv/ebde1eb02d47d7deac0b46b7c53220e8 to your computer and use it in GitHub Desktop.
Save sh1kxrv/ebde1eb02d47d7deac0b46b7c53220e8 to your computer and use it in GitHub Desktop.
VS Code | Settings | MacOS
{
"window.title": "${appName}${separator}0xaffff${separator}📦${rootName}${dirty}",
"window.restoreWindows": "none",
"telemetry.telemetryLevel": "off",
"emmet.triggerExpansionOnTab": true,
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
// Editor
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.suggest.showWords": false,
"editor.suggest.preview": true,
"editor.linkedEditing": true,
"editor.inlayHints.enabled": "on",
"editor.cursorSmoothCaretAnimation": true,
"editor.useCustomCodeActionMenu": true,
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
"editor.inlineSuggest.enabled": true,
"editor.scrollbar.verticalScrollbarSize": 8,
"editor.acceptSuggestionOnEnter": "on",
"editor.suggest.selectionMode": "always",
// Font
"terminal.integrated.fontSize": 12,
"editor.fontLigatures": true,
"editor.fontSize": 13,
// Terminal
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": ["-l"],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": ["-l"]
},
"fish": {
"path": "/opt/homebrew/bin/fish",
"args": ["-l"]
}
},
"terminal.integrated.defaultProfile.osx": "fish",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.minimumContrastRatio": 1,
// Explorer
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, jest.config.js, .gitignore, commitlint.config.js, jsconfig.json, tsconfig.json, .pnpm-debug.log, components.d.ts, .npmrc"
},
"explorer.compactFolders": false,
// Workbench
"workbench.iconTheme": "material-icon-theme",
"workbench.list.smoothScrolling": true,
"workbench.startupEditor": "none",
"workbench.editor.enablePreview": false,
"workbench.localHistory.enabled": false,
"workbench.layoutControl.enabled": false,
"workbench.editor.restoreViewState": false,
"workbench.productIconTheme": "fluent-icons",
"workbench.colorCustomizations": {
"errorLens.errorMessageBackground": "#fd9b9b2c",
"errorLens.errorForeground": "#ff8484",
"errorLens.warningMessageBackground": "#ffe55025",
"errorLens.warningForeground": "#ffec7d",
"editorInlayHint.foreground": "#e77aa4"
},
// File
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.autoSave": "onFocusChange",
// Extensions
"extensions.ignoreRecommendations": true,
// JS/TS
"javascript.updateImportsOnFileMove.enabled": "prompt",
"javascript.inlayHints.variableTypes.enabled": false,
"javascript.inlayHints.parameterNames.enabled": "none",
"typescript.inlayHints.parameterNames.enabled": "none",
// Other
"better-comments.highlightPlainText": true,
"better-comments.tags": [
{
"tag": "refactor",
"color": "#E87766",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": true,
"italic": false
},
{
"tag": "fixme",
"color": "#FFFFFF",
"strikethrough": false,
"underline": false,
"backgroundColor": "#E87766",
"bold": true,
"italic": false
},
{
"tag": "todo",
"color": "#3EAC7D",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
}
],
"volar.completion.preferredTagNameCase": "kebab",
"volar.completion.preferredAttrNameCase": "kebab",
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true,
"rust": true,
"vue": true
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// GoLang
"go.toolsManagement.autoUpdate": true,
"go.toolsEnvVars": {
"GOOS": "linux",
"GOARCH": "arm",
"GOROOT": "/usr/local/go",
"GOPATH": "/usr/local/go:/usr/local/tinygo",
"GOFLAGS": "-tags=cortexm,baremetal,linux,arm,nrf51822,nrf51,nrf,microbit,tinygo,gc.conservative,scheduler.tasks"
},
"[go]": {
"editor.defaultFormatter": "golang.go"
},
"git.autofetch": true,
"editor.stickyScroll.enabled": false,
"redhat.telemetry.enabled": false,
"errorLens.messageBackgroundMode": "message",
"errorLens.messageTemplate": "$severity -> $message | $source",
"errorLens.severityText": ["ERROR", "WARN", "INFO", "HINT"],
"errorLens.onSave": true,
"errorLens.padding": "3px 1ch",
"errorLens.borderRadius": ".2rem",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment