mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Major Update
- Updated repo to support both mac and kde neon - bootstrap.sh updated to auto-detect OS and read from the required directory - Added VIM & NeoVIM dot files
This commit is contained in:
281
common/.config/Code/User/settings.json
Normal file
281
common/.config/Code/User/settings.json
Normal file
@@ -0,0 +1,281 @@
|
||||
{
|
||||
// Global
|
||||
"update.mode": "manual",
|
||||
"workbench.settings.editor": "json",
|
||||
//
|
||||
// Privacy
|
||||
"telemetry.telemetryLevel": "off",
|
||||
"extensions.ignoreRecommendations": true,
|
||||
//
|
||||
// Editor
|
||||
"editor.fontSize": 21, // Increase the Editor's font to offset
|
||||
"window.zoomLevel": -1, // Reduces the Activity Bar size
|
||||
"editor.cursorWidth": 4,
|
||||
"editor.minimap.enabled": false,
|
||||
"editor.wordWrap": "on",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnPaste": true,
|
||||
"editor.copyWithSyntaxHighlighting": true,
|
||||
"editor.acceptSuggestionOnEnter": "smart",
|
||||
"editor.snippetSuggestions": "top",
|
||||
"editor.guides.indentation": true,
|
||||
"editor.tabSize": 4,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.multiCursorModifier": "ctrlCmd",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.autoSave": "afterDelay",
|
||||
"files.autoSaveDelay": 1000,
|
||||
"diffEditor.renderSideBySide": true,
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
//
|
||||
// Editor Font
|
||||
"editor.fontFamily": "FuraCode Nerd Font",
|
||||
"editor.fontLigatures": true,
|
||||
"terminal.integrated.fontFamily": "FuraCode Nerd Font",
|
||||
"terminal.integrated.fontSize": 20,
|
||||
//
|
||||
// Workbench - Everything that surrounds the editor
|
||||
"workbench.startupEditor": "newUntitledFile",
|
||||
"workbench.sideBar.location": "left",
|
||||
"workbench.colorCustomizations": {
|
||||
"tab.activeBackground": "#07f7af3f",
|
||||
"tab.activeBorder": "#ffffff"
|
||||
},
|
||||
"bookmarks.navigateThroughAllFiles": true,
|
||||
"window.menuBarVisibility": "compact",
|
||||
"explorer.confirmDragAndDrop": false,
|
||||
//
|
||||
// Screencast Options
|
||||
"screencastMode.verticalOffset": 5,
|
||||
"screencastMode.fontSize": 45,
|
||||
//
|
||||
// Debugging
|
||||
"debug.toolBarLocation": "docked",
|
||||
//
|
||||
// Prettier Plugin
|
||||
"prettier.tabWidth": 4,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"prettier.useTabs": false,
|
||||
"prettier.printWidth": 85,
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
//
|
||||
// Code Spell Checker Plugin
|
||||
"cSpell.diagnosticLevel": "Hint",
|
||||
"cSpell.allowCompoundWords": true,
|
||||
"cSpell.fixSpellingWithRenameProvider": true,
|
||||
"cSpell.enableFiletypes": ["shellscript"],
|
||||
"cSpell.minWordLength": 3,
|
||||
"cSpell.numSuggestions": 10,
|
||||
"cSpell.userWords": [
|
||||
"Aadhaar",
|
||||
"Aiginia",
|
||||
"BBSR",
|
||||
"Bhubaneswar",
|
||||
"CLR",
|
||||
"Destructured",
|
||||
"GOPATH",
|
||||
"IIS",
|
||||
"JIT",
|
||||
"Jython",
|
||||
"Kumar",
|
||||
"LINQ",
|
||||
"MVC",
|
||||
"Monomorphization",
|
||||
"OOP",
|
||||
"Odisha",
|
||||
"Postgres",
|
||||
"Pratik",
|
||||
"Printf",
|
||||
"Println",
|
||||
"Sprintf",
|
||||
"Struct",
|
||||
"Structs",
|
||||
"Tripathy",
|
||||
"VIMP",
|
||||
"VVIMP",
|
||||
"VVVIMP",
|
||||
"Vec",
|
||||
"arity",
|
||||
"atleast",
|
||||
"destructure",
|
||||
"elif",
|
||||
"mkdir",
|
||||
"monomorphized",
|
||||
"pratiktri",
|
||||
"ptr",
|
||||
"pylint",
|
||||
"subfolder",
|
||||
"ulta",
|
||||
"umount",
|
||||
"unmount"
|
||||
],
|
||||
//
|
||||
// Shell check plugin
|
||||
"shellcheck.run": "onSave",
|
||||
"shellcheck.exclude": ["2181", "2039"],
|
||||
"security.workspace.trust.untrustedFiles": "open",
|
||||
//
|
||||
// Better Comments
|
||||
"better-comments.tags": [
|
||||
{
|
||||
"tag": "!",
|
||||
"color": "#FF2D00",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "?",
|
||||
"color": "#3498DB",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "//",
|
||||
"color": "#474747",
|
||||
"strikethrough": true,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "todo",
|
||||
"color": "#FF8C00",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "*",
|
||||
"color": "#98C379",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
}
|
||||
],
|
||||
// ES Lint
|
||||
"eslint.alwaysShowStatus": true,
|
||||
"eslint.run": "onSave",
|
||||
//
|
||||
// JavaScript
|
||||
"typescript.suggest.paths": false,
|
||||
//
|
||||
// Git
|
||||
"git.enableSmartCommit": true,
|
||||
"git.autofetch": true,
|
||||
"git.confirmSync": false,
|
||||
// GetLens
|
||||
"gitlens.hovers.currentLine.over": "line",
|
||||
"gitlens.advanced.telemetry.enabled": false,
|
||||
"gitlens.statusBar.reduceFlicker": true,
|
||||
"gitlens.blame.avatars": false,
|
||||
"gitlens.currentLine.uncommittedChangesFormat": "✏️ ${ago}",
|
||||
"gitlens.codeLens.enabled": false,
|
||||
"gitlens.currentLine.enabled": false,
|
||||
"gitlens.views.branches.branches.layout": "list",
|
||||
//
|
||||
// Golang
|
||||
"go.useLanguageServer": true,
|
||||
"go.formatTool": "gofmt",
|
||||
// Markdown
|
||||
"markdownlint.run": "onType",
|
||||
"markdown.extension.print.imgToBase64": true,
|
||||
"markdown.extension.print.theme": "dark",
|
||||
"markdown.extension.toc.orderedList": true,
|
||||
"markdown.extension.tableFormatter.normalizeIndentation": true,
|
||||
"markdown.extension.list.indentationSize": "inherit",
|
||||
"markdown.extension.bold.indicator": "**",
|
||||
"markdown.extension.italic.indicator": "*",
|
||||
"markdownlint.config": {
|
||||
"default": true,
|
||||
"MD007": false,
|
||||
"MD024": false,
|
||||
"MD029": false,
|
||||
"MD030": false,
|
||||
"MD033": false,
|
||||
"MD046": false,
|
||||
"no-hard-tabs": false,
|
||||
"line-length": false
|
||||
},
|
||||
// LaTex
|
||||
// https://nevalsar.hashnode.dev/compiling-latex-with-ubuntu-and-visual-studio-code#heading-issues-with-modules-setting-additional-compiler-flags
|
||||
"latex-workshop.latex.tools": [
|
||||
{
|
||||
"name": "latexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"--shell-escape",
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-pdf",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "pdflatex",
|
||||
"command": "pdflatex",
|
||||
"args": [
|
||||
"--shell-escape",
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "bibtex",
|
||||
"command": "bibtex",
|
||||
"args": ["--shell-escape", "%DOCFILE%"],
|
||||
"env": {}
|
||||
}
|
||||
],
|
||||
|
||||
//
|
||||
// Python
|
||||
"python.jediEnabled": false,
|
||||
"python.languageServer": "Pylance",
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"workbench.colorTheme": "GitHub Dark",
|
||||
// "theme-by-language.themes": {
|
||||
// "*": "GitHub Dark",
|
||||
// "markdown": "Community Material Theme Darker High Contrast"
|
||||
// },
|
||||
|
||||
// Rust
|
||||
// "rust.build_on_save": true,
|
||||
// "rust.clippy_preference": "on",
|
||||
// "rust.full_docs": true,
|
||||
// "rust-analyzer.assist.importMergeBehavior": "last",
|
||||
// "rust-analyzer.cargo.loadOutDirsFromCheck": true,
|
||||
// "rust-analyzer.procMacro.enable": true,
|
||||
// "rust-analyzer.checkOnSave.command": "clippy",
|
||||
// "rust-analyzer.cargo.target": null,
|
||||
// "rust-analyzer.completion.postfix.enable": false,
|
||||
// "rust-analyzer.inlayHints.enable": false,
|
||||
// "rust-analyzer.inlayHints.typeHints": false,
|
||||
//
|
||||
"terminal.integrated.shell.linux": "/bin/zsh",
|
||||
"debug.javascript.autoAttachFilter": "disabled",
|
||||
"debug.onTaskErrors": "debugAnyway"
|
||||
//
|
||||
}
|
||||
Reference in New Issue
Block a user