VSCode Settings changed

This commit is contained in:
Pratik Tripathy
2023-06-22 21:18:08 +05:30
parent 74b311237c
commit 282be1f464
2 changed files with 33 additions and 27 deletions

View File

@@ -10,13 +10,16 @@
"extensions.ignoreRecommendations": true, "extensions.ignoreRecommendations": true,
// //
// Editor // Editor
// "editor.cursorSmoothCaretAnimation": true, "editor.cursorSmoothCaretAnimation": "on",
"editor.cursorWidth": 4, "editor.cursorWidth": 4,
"editor.minimap.enabled": false, "editor.minimap.enabled": false,
"editor.wordWrap": "on", "editor.wordWrap": "on",
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.formatOnPaste": true, "editor.formatOnPaste": true,
"editor.copyWithSyntaxHighlighting": true, "editor.copyWithSyntaxHighlighting": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.snippetSuggestions": "top",
"editor.guides.indentation": true,
"editor.tabSize": 4, "editor.tabSize": 4,
"prettier.tabWidth": 4, "prettier.tabWidth": 4,
"editor.insertSpaces": true, "editor.insertSpaces": true,
@@ -25,7 +28,7 @@
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"files.autoSave": "afterDelay", "files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000, "files.autoSaveDelay": 1000,
"diffEditor.renderSideBySide": false, "diffEditor.renderSideBySide": true,
"diffEditor.ignoreTrimWhitespace": false, "diffEditor.ignoreTrimWhitespace": false,
// //
// Editor Font // Editor Font
@@ -116,7 +119,7 @@
"unmount" "unmount"
], ],
// //
// Shell check plgin // Shell check plugin
"shellcheck.run": "onSave", "shellcheck.run": "onSave",
"shellcheck.exclude": ["2181", "2039"], "shellcheck.exclude": ["2181", "2039"],
// //
@@ -125,56 +128,54 @@
"eslint.packageManager": "yarn", "eslint.packageManager": "yarn",
"eslint.run": "onSave", "eslint.run": "onSave",
// //
//Path Intellisense
"typescript.suggest.paths": false,
//
// JavaScript // JavaScript
"es6-css-minify.minifyOnSave": "yes", "es6-css-minify.minifyOnSave": "yes",
"es6-css-minify.onSaveDelay": 10, "es6-css-minify.onSaveDelay": 10,
"typescript.suggest.paths": false,
// //
// Git // Git
"git.enableSmartCommit": true, "git.enableSmartCommit": true,
"git.autofetch": true, "git.autofetch": true,
"git.confirmSync": false, "git.confirmSync": false,
"gitlens.hovers.currentLine.over": "line", "gitlens.hovers.currentLine.over": "line",
// GetLens
"gitlens.advanced.telemetry.enabled": false, "gitlens.advanced.telemetry.enabled": false,
"gitlens.codeLens.enabled": false,
"gitlens.statusBar.reduceFlicker": true, "gitlens.statusBar.reduceFlicker": true,
"gitlens.blame.avatars": false, "gitlens.blame.avatars": false,
"projectManager.git.baseFolders": [ "gitlens.currentLine.uncommittedChangesFormat": "✏️ ${ago}",
"/media/pratik/Personal_Projects/Code/", "gitlens.codeLens.enabled": false,
"/media/pratik/Office/Squbix/Code" "gitlens.currentLine.enabled": false,
], "gitlens.views.branches.branches.layout": "list",
// //
// Golang // Golang
"go.useLanguageServer": true, "go.useLanguageServer": true,
"go.formatTool": "gofmt", "go.formatTool": "gofmt",
//
// Markdown // Markdown
"markdown.extension.italic.indicator": "_",
"markdown.extension.print.imgToBase64": true, "markdown.extension.print.imgToBase64": true,
"markdown.extension.print.theme": "dark", "markdown.extension.print.theme": "dark",
"markdown.extension.toc.githubCompatibility": true, "markdown.extension.toc.githubCompatibility": true,
"markdownlint.run": "onType", "markdownlint.run": "onType",
"markdown.extension.toc.orderedList": true,
"markdown.extension.tableFormatter.normalizeIndentation": true,
"markdown.extension.list.indentationSize": "inherit",
"markdownlint.config": { "markdownlint.config": {
"default": true, "default": true,
"MD030": false,
"MD007": false, "MD007": false,
"MD029": false,
"MD024": false, "MD024": false,
"MD029": false,
"MD030": false,
"MD033": false,
"MD046": false,
"no-hard-tabs": false, "no-hard-tabs": false,
"line-length": false "line-length": false
}, },
"[markdown]": { "[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one" "editor.defaultFormatter": "yzhang.markdown-all-in-one"
}, },
"markdown.extension.toc.orderedList": true,
// //
// Python // Python
"python.jediEnabled": false, "python.jediEnabled": false,
"terminal.integrated.shell.linux": "/bin/zsh", "python.languageServer": "Pylance",
"prettier.packageManager": "yarn",
// //
// //
// Themes // Themes
@@ -183,15 +184,11 @@
"*": "GitHub Dark", "*": "GitHub Dark",
"markdown": "Community Material Theme Darker High Contrast" "markdown": "Community Material Theme Darker High Contrast"
}, },
"python.languageServer": "Pylance",
// Rust // Rust
// "rust.build_on_save": true, // "rust.build_on_save": true,
"rust.clippy_preference": "on", "rust.clippy_preference": "on",
"rust.full_docs": true, "rust.full_docs": true,
"[rust]": {
"editor.defaultFormatter": "matklad.rust-analyzer"
},
"rust-analyzer.assist.importMergeBehavior": "last", "rust-analyzer.assist.importMergeBehavior": "last",
"rust-analyzer.cargo.loadOutDirsFromCheck": true, "rust-analyzer.cargo.loadOutDirsFromCheck": true,
"rust-analyzer.procMacro.enable": true, "rust-analyzer.procMacro.enable": true,
@@ -200,11 +197,12 @@
"rust-analyzer.completion.postfix.enable": false, "rust-analyzer.completion.postfix.enable": false,
"rust-analyzer.inlayHints.enable": false, "rust-analyzer.inlayHints.enable": false,
"rust-analyzer.inlayHints.typeHints": false, "rust-analyzer.inlayHints.typeHints": false,
"[rust]": {
"editor.defaultFormatter": "matklad.rust-analyzer"
},
// //
"editor.acceptSuggestionOnEnter": "smart",
"editor.snippetSuggestions": "top",
"workbench.colorTheme": "GitHub Dark Dimmed", "workbench.colorTheme": "GitHub Dark Dimmed",
"editor.guides.indentation": true "terminal.integrated.shell.linux": "/bin/zsh"
// //
} }

View File

@@ -3,4 +3,12 @@
name = Pratik Tripathy name = Pratik Tripathy
[core] [core]
autocrlf = input autocrlf = input
editor = subl --wait editor = code --wait
[diff]
tool = vscode
[difftool "vscode"]
cmd = "code --wait --diff $LOCAL $REMOTE"
[alias]
ll = log --pretty=format:'%Cblue%cn (%ce)%Creset commited %Cred%h%Creset %Cgreen%cr%Creset:%n%B'
unstage = restore --staged .