notes/config/vscode/settings.json

348 lines
8.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"editor.fontFamily": "'Hack', 'Hack Nerd Font Mono', Menlo, Monaco, 'MesloLGL NF', monospace",
"editor.fontSize": 14,
"editor.wordWrap": "on",
"editor.wordWrapColumn": 120,
"editor.suggestSelection": "first",
"editor.minimap.maxColumn": 45,
"editor.cursorBlinking": "solid",
"editor.lineNumbers": "relative",
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.occurrencesHighlight": true,
"settings.cycle": [
{
"id": "relativeLineNumbers",
"overrideWorkspaceSettings": false,
"values": [
{
"editor.lineNumbers": "on"
},
{
"editor.lineNumbers": "relative"
}
]
}
],
"text-tables.mode": "markdown",
"text-tables.showStatus": true,
"sync.gist": "",
"vim.easymotion": true,
"vim.leader": ",",
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
// nmap
"vim.normalModeKeyBindings": [
{
"before": [
";"
],
"after": [
":"
]
},
{
"before": [
""
],
"after": [
":"
]
}
],
// vim easymotion
"vim.easymotionMarkerBackgroundColor": "#1B2631",
"vim.easymotionMarkerForegroundColorOneChar": "#26E6F0",
"vim.easymotionMarkerForegroundColorTwoCharFirst": "#F4F917",
"vim.easymotionMarkerForegroundColorTwoCharSecond": "#F4F917",
// "vim.easymotionMarkerForegroundColorTwoChar": "#F4F917",
// "vim.easymotionMarkerFontFamily": "Monaco, Menlo, monospace",
"vim.surround": true,
"editor.tabSize": 4,
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
"editor.tabSize": 2
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.tabSize": 2
},
"[sql]": {
"editor.tabSize": 2
},
"[html]": {
"editor.tabSize": 2
},
"workbench.colorCustomizations": {
// 设置光标颜色
"editorCursor.foreground": "#e9e6e6"
},
"extensions.ignoreRecommendations": true,
"files.associations": {
"*.def": "cpp",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"files.trimTrailingWhitespace": true,
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"files.exclude": {
"**/__pycache__": true,
"**/node_modules": true,
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true,
"**/*.swp": true,
"**/*.o": true,
},
"python.jediEnabled": false,
"files.autoSave": "afterDelay",
"files.eol": "\n",
"git.autofetch": true,
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh",
"args": []
}
},
"terminal.integrated.profiles.osx": {
"zsh": {
"path": "/bin/zsh",
"args": []
}
},
"terminal.integrated.profiles.windows": {
"powershell": {
// "path": "pwsh.exe",
"path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
// "args": ["-noexit", "-file", "${env:APPDATA}PowerShellmy-init-script.ps1"]
"args": ["--nologo"]
}
},
"terminal.integrated.fontFamily": "'Hack', 'Hack Nerd Font Mono', 'MesloLGL Nerd Font', 'Cascadia Code PL'",
"files.watcherExclude": {
"**/__pycache__": true,
"**/node_modules": true,
"**/*.o": true,
},
"workbench.settings.editor": "ui",
"workbench.iconTheme": "material-icon-theme",
"cSpell.userWords": [
"Archlinux",
"argparse",
"CDSS",
"commandline",
"dpre",
"dtype",
"duckduckgo",
"ecosia",
"fastjson",
"Graphviz",
"intv",
"iterrows",
"publickey",
"qwant",
"rankdir",
"rgba",
"spre",
"submodule",
"treenode",
"Vimium",
"Vomnibar"
],
"explorer.confirmDelete": false,
"C_Cpp.clang_format_sortIncludes": true,
"terminal.integrated.copyOnSelection": true,
"workbench.colorTheme": "Better Solarized Dark",
"sync.forceUpload": false,
"sync.autoUpload": true,
"git.enableSmartCommit": true,
"python.languageServer": "Pylance",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"latex-workshop.latex.recipes": [
{
"name": "texify", //放在最前面为默认编译方案, 适用于MikTex
"tools": [
"texify"
]
},
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "xe->bib->xe->xe",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
}
],
"latex-workshop.latex.tools": [
{
"name": "texify",
"command": "texify",
"args": [
"--synctex",
"--pdf",
"--tex-option=\"-interaction=nonstopmode\"",
"--tex-option=\"-file-line-error\"",
"%DOC%.tex"
]
},
{
// 编译工具和命令
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk"
],
"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.autoBuild.run": "never",
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"[latex]": {
// "editor.defaultFormatter": "James-Yu.latex-workshop"
// "editor.defaultFormatter": "nickfode.latex-formatter"
},
"sync.autoDownload": true,
"bracket-pair-colorizer-2.depreciation-notice": false,
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.integratedConsole.suppressStartupBanner": true,
"powershell.startAutomatically": false,
"powershell.startAsLoginShell.linux": false,
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
// "python.condaPath": "C:\\Program Files\\Python311\\python.exe",
"[c]": {
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.tabSize": 4,
"editor.tabCompletion": "on",
"editor.quickSuggestionsDelay": 1,
"editor.suggest.snippetsPreventQuickSuggestions": false
},
"[cpp]": {
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.tabSize": 4,
"editor.tabCompletion": "on",
"editor.quickSuggestionsDelay": 1,
"editor.suggest.snippetsPreventQuickSuggestions": false
},
"[lua]": {
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.tabSize": 2,
"editor.tabCompletion": "on",
"editor.quickSuggestionsDelay": 1,
"editor.suggest.snippetsPreventQuickSuggestions": false
},
"[python]": {
"gitlens.codeLens.symbolScopes": [
"!Module"
],
"editor.tabSize": 4,
"editor.wordBasedSuggestions": false,
"editor.formatOnType": true
},
"editor.scrollbar.vertical": "hidden",
"terminal.integrated.detectLocale": "off",
"editor.codeLensFontFamily": "'Hack', 'Hack Nerd Font Mono', Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace",
"editor.inlayHints.fontFamily": "'Hack Nerd Font Mono', Menlo, Monaco, 'Hack NF', 'MesloLGL NF', monospace",
"C_Cpp.files.exclude": {
"**/.idea": true,
"**/.vscode": true,
"**/.vs": true
},
"redhat.telemetry.enabled": false,
"C_Cpp.default.compilerPath": "",
"diffEditor.ignoreTrimWhitespace": false,
"window.commandCenter": false,
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c99",
"C_Cpp.workspaceParsingPriority": "medium",
"workbench.editor.empty.hint": "hidden",
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "underline",
"vim.handleKeys": {
"<C-d>": true,
"<C-s>": false,
"<C-z>": false
},
// "[latex]": {
// "editor.defaultFormatter": "James-Yu.latex-workshop"
// }
}