Skip to content

Instantly share code, notes, and snippets.

@nabily4e-dev
Last active December 20, 2023 19:21
Show Gist options
  • Save nabily4e-dev/ab46d144eeca6cf8a334b481bb5bc396 to your computer and use it in GitHub Desktop.
Save nabily4e-dev/ab46d144eeca6cf8a334b481bb5bc396 to your computer and use it in GitHub Desktop.
{
// Terminal settings
"terminal.integrated.defaultProfile.windows": "Git Bash", // Sets the default terminal profile on Windows to PowerShell
"terminal.integrated.env.linux": {}, // Sets environment variables for the integrated terminal on Linux
"terminal.integrated.env.windows": {}, // Sets environment variables for the integrated terminal on Windows
// Workbench settings
"workbench.colorTheme": "GitHub Dark Default", // Sets the color theme of the workbench
"workbench.sideBar.location": "right", // Positions the sidebar on the right
"workbench.iconTheme": "material-icon-theme",
"security.allowedUNCHosts": ["192.168.10.114"], // Sets the icon theme of the workbench
// GitHub Copilot settings
"github.copilot.enable": {
"*": true // Enables GitHub Copilot for all languages
},
// Security settings
"security.workspace.trust.untrustedFiles": "open", // Opens untrusted files in the workspace
// Editor settings
"editor.linkedEditing": true, // Enables linked editing of HTML tags
"editor.defaultFormatter": "esbenp.prettier-vscode", // Sets Prettier as the default formatter
"editor.formatOnPaste": true, // Formats code on paste
"editor.formatOnSave": true, // Formats code on save
"editor.autRenameTag": true, // Automatically renames paired HTML/XML tags
"editor.inlineSuggest.enabled": true, // Enables inline suggestions
"editor.guides.bracketPairs": "active", // Highlights matching bracket pairs
"editor.bracketPairColorization.independentColorPoolPerBracketType": true, // Sets the color pool for bracket pair colorization
"editor.wordWrap": "on", // Enables word wrap
"chat.editor.wordWrap": "on", // Enables word wrap in the chat window
// Language-specific settings
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" // Sets Prettier as the default formatter for HTML files
},
"[markdown]": {
"editor.wordWrap": "bounded", // Enables word wrap for Markdown files
"editor.wordWrapColumn": 80 // Sets the maximum line length for word wrap in Markdown files
},
// File settings
"files.autoSave": "afterDelay", // Automatically saves files after a delay
// Prettier settings
"prettier.endOfLine": "auto", // Configures the end of line used by Prettier
"prettier.jsxSingleQuote": true, // Uses single quotes instead of double quotes in JSX
"prettier.singleQuote": true, // Uses single quotes instead of double quotes
// Markdown preview settings
"markdown-preview-enhanced.previewTheme": "atom-material.css", // Sets the theme for the Markdown preview
// ESLint settings
"eslint.format.enable": true, // Enables ESLint formatting
"eslint.run": "onSave", // Runs ESLint on save
// Git settings
"git.autofetch": true, // Automatically fetches from the remote Git repository
"gitlens.rebaseEditor.ordering": "asc", // Sets the ordering of commits in the GitLens rebase editor
// Extension settings
"extensions.autoUpdate": "onlyEnabledExtensions", // Automatically updates only enabled extensions
// TypeScript settings
"typescript.updateImportsOnFileMove.enabled": "always", // Always updates imports on file move in TypeScript files
// Workbench editor associations
"workbench.editorAssociations": {
"git-rebase-todo": "default" // Sets the default editor for Git rebase TODO files
},
// Spell checker settings
"code-spell-checker.enable": true, // Enables the spell checker
"code-spell-checker.ignoreRegExpList": ["/:(.*)/"], // Ignores words that match the specified regular expressions
"code-spell-checker.language": "en", // Sets the language of the spell checker to English
// Bracket pair colorizer settings
"bracket-pair-colorizer-2.colors": ["Gold", "Orchid", "LightSkyBlue"], // Sets the colors used by the bracket pair colorizer
// Path intellisense settings
"path-intellisense.showHiddenFiles": true, // Shows hidden files in path autocompletion
// Peacock settings
"peacock.favoriteColors": ["7037A9", "007ACC", "50139E"], // Sets the favorite colors in Peacock
// GitLens settings
"gitlens.codeLens.enabled": true, // Enables GitLens code lens
"gitlens.codeLens.authors.enabled": true, // Enables GitLens code lens for authors
// JavaScript inlay hints
"javascript.inlayHints.enumMemberValues.enabled": true, // Enables inlay hints for enum member values in JavaScript
"javascript.inlayHints.functionLikeReturnTypes.enabled": true, // Enables inlay hints for function-like return types in JavaScript
"javascript.inlayHints.parameterTypes.enabled": true, // Enables inlay hints for parameter types in JavaScript
"javascript.inlayHints.propertyDeclarationTypes.enabled": true, // Enables inlay hints for property declaration types in JavaScript
"javascript.inlayHints.variableTypes.enabled": true, // Enables inlay hints for variable types in JavaScript
// TypeScript inlay hints
"typescript.inlayHints.enumMemberValues.enabled": true, // Enables inlay hints for enum member values in TypeScript
"typescript.inlayHints.functionLikeReturnTypes.enabled": true, // Enables inlay hints for function-like return types in TypeScript
"typescript.inlayHints.parameterNames.enabled": "all", // Enables inlay hints for all parameter names in TypeScript
"typescript.inlayHints.parameterTypes.enabled": true, // Enables inlay hints for parameter types in TypeScript
"typescript.inlayHints.propertyDeclarationTypes.enabled": true, // Enables inlay hints for property declaration types in TypeScript
"typescript.inlayHints.variableTypes.enabled": true // Enables inlay hints for variable types in TypeScript
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment