316 lines
8.3 KiB
JSON
316 lines
8.3 KiB
JSON
{
|
|
"files.autoSave": "onWindowChange",
|
|
"editor.fontSize": 16,
|
|
"editor.fontFamily": "'Maple Mono NF CN','Cascadia Code',Monaco,Consola,'Courier New', monospace",
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"leetcode.endpoint": "leetcode-cn",
|
|
"leetcode.defaultLanguage": "java",
|
|
"leetcode.workspaceFolder": "/Users/zouzhiwen/project/mypro/offer/src/leecode/java",
|
|
"editor.tabSize": 2,
|
|
"[python]": {
|
|
"editor.formatOnType": true,
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
"git.enableSmartCommit": true,
|
|
"notebook.diff.enablePreview": false,
|
|
"workbench.editor.enablePreview": false,
|
|
"workbench.editor.wrapTabs": true,
|
|
"security.workspace.trust.untrustedFiles": "newWindow",
|
|
"diffEditor.ignoreTrimWhitespace": false,
|
|
"search.exclude": {
|
|
"**/.git": true,
|
|
"**/.github": true,
|
|
"**/.nuxt": true,
|
|
"**/.output": true,
|
|
"**/.pnpm": true,
|
|
"**/.vscode": true,
|
|
"**/.yarn": true,
|
|
"**/bower_components": true,
|
|
"**/dist/**": true,
|
|
"**/logs": true,
|
|
"**/node_modules": true,
|
|
"**/out/**": true,
|
|
"**/package-lock.json": true,
|
|
"**/pnpm-lock.yaml": true,
|
|
"**/tmp": true,
|
|
"**/yarn.lock": true
|
|
},
|
|
"[css]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"editor.fontWeight": "normal",
|
|
"gitlens.hovers.currentLine.over": "line",
|
|
"terminal.integrated.fontSize": 14,
|
|
"terminal.integrated.fontFamily": "'BitstromWera Nerd Font Mono'",
|
|
"gitlens.currentLine.enabled": false,
|
|
"gitlens.graph.minimap.enabled": false,
|
|
"workbench.editor.empty.hint": "hidden",
|
|
"[jsonc]": {
|
|
"editor.defaultFormatter": "vscode.json-language-features"
|
|
},
|
|
"editor.multiCursorLimit": 100000,
|
|
"C_Cpp.autocomplete": "default",
|
|
"[cpp]": {
|
|
"editor.quickSuggestions": {
|
|
"comments": "on",
|
|
"strings": "on",
|
|
"other": "on"
|
|
}
|
|
},
|
|
"[c]": {
|
|
"editor.quickSuggestions": {
|
|
"comments": "on",
|
|
"strings": "on",
|
|
"other": "on"
|
|
}
|
|
},
|
|
"editor.quickSuggestions": {
|
|
"comments": "on",
|
|
"strings": "on"
|
|
},
|
|
"remote.extensionKind": {
|
|
"GitHub.copilot": [
|
|
"ui"
|
|
],
|
|
"github.copilot-chat": [
|
|
"ui"
|
|
]
|
|
},
|
|
"labuladong-leetcode.defaultLanguage": "python3",
|
|
"github.copilot.enable": {
|
|
"*": false,
|
|
"plaintext": false,
|
|
"markdown": false,
|
|
"scminput": false
|
|
},
|
|
"cursor.cpp.disabledLanguages": [
|
|
"plaintext",
|
|
"markdown",
|
|
"scminput",
|
|
"javascript"
|
|
],
|
|
"editorjumper.ideConfigurations": [
|
|
{
|
|
"name": "IDEA",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "WebStorm",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "PyCharm",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "GoLand",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "CLion",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "PhpStorm",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "RubyMine",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "Rider",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "Android Studio",
|
|
"isCustom": false,
|
|
"hidden": false,
|
|
"commandPath": null
|
|
},
|
|
{
|
|
"name": "Xcode",
|
|
"commandPath": null,
|
|
"isCustom": false,
|
|
"hidden": false
|
|
}
|
|
],
|
|
"labuladong-leetcode.workspaceFolder": "/Users/kazusa/project/java/offer/src/leecode/python",
|
|
"http.proxy": "http://127.0.0.1:7890",
|
|
"git.confirmSync": false,
|
|
"workbench.preferredDarkColorTheme": "Catppuccin Macchiato",
|
|
"window.systemColorTheme": "dark",
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": [
|
|
"--line-length",
|
|
"88"
|
|
],
|
|
"python.linting.enabled": true,
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.lintOnSave": true,
|
|
"python.linting.mypyEnabled": true,
|
|
"java.configuration.updateBuildConfiguration": "disabled",
|
|
"java.compile.nullAnalysis.mode": "disabled",
|
|
"java.inlayHints.parameterNames.enabled": "none",
|
|
"java.autobuild.enabled": false,
|
|
"java.jdt.ls.vmargs": "-Xmx512m -XX:+UseG1GC",
|
|
"java.saveActions.organizeImports": false,
|
|
"java.format.onType.enabled": false,
|
|
"java.format.onSave.enabled": false,
|
|
"java.import.gradle.enabled": true,
|
|
"java.import.maven.enabled": true,
|
|
"java.completion.importOrder": [
|
|
"java",
|
|
"javax",
|
|
"org",
|
|
"com",
|
|
""
|
|
],
|
|
"java.format.settings.url": "",
|
|
"java.format.settings.profile": "GoogleStyle",
|
|
"java.codeGeneration.generateComments": true,
|
|
"java.codeGeneration.useBlocks": true,
|
|
"remote.SSH.remotePlatform": {
|
|
"master": "linux",
|
|
"remote": "linux",
|
|
"sit-service": "linux"
|
|
},
|
|
"[html]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[java]": {
|
|
"editor.formatOnSave": false,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "never"
|
|
},
|
|
"editor.defaultFormatter": "redhat.java"
|
|
},
|
|
"workbench.iconTheme": "catppuccin-latte",
|
|
"terminal.integrated.fontLigatures.fallbackLigatures": [
|
|
"<--",
|
|
"<---",
|
|
"<<-",
|
|
"<-",
|
|
"->",
|
|
"->>",
|
|
"-->",
|
|
"--->",
|
|
"<==",
|
|
"<===",
|
|
"<<=",
|
|
"<=",
|
|
"=>",
|
|
"=>>",
|
|
"==>",
|
|
"===>",
|
|
">=",
|
|
">>=",
|
|
"<->",
|
|
"<-->",
|
|
"<--->",
|
|
"<---->",
|
|
"<=>",
|
|
"<==>",
|
|
"<===>",
|
|
"<====>",
|
|
"::",
|
|
":::",
|
|
"<~~",
|
|
"</",
|
|
"</>",
|
|
"/>",
|
|
"~~>",
|
|
"==",
|
|
"!=",
|
|
"/=",
|
|
"~=",
|
|
"<>",
|
|
"===",
|
|
"!==",
|
|
"!===",
|
|
"<:",
|
|
":=",
|
|
"*=",
|
|
"*+",
|
|
"<*",
|
|
"<*>",
|
|
"*>",
|
|
"<|",
|
|
"<|>",
|
|
"|>",
|
|
"+*",
|
|
"=*",
|
|
"=:",
|
|
":>",
|
|
"/*",
|
|
"*/",
|
|
"+++",
|
|
"<!--",
|
|
"<!---"
|
|
],
|
|
// 启用内置 Lombok 支持
|
|
"java.jdt.ls.lombokSupport.enabled": true,
|
|
|
|
// 智能导包优化 - 只在明确需要时执行
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
|
|
// Java 特定设置
|
|
"java.saveActions.organizeImports": false,
|
|
"java.import.information.showUnusedImports": true,
|
|
|
|
// 配置导包顺序,避免意外删除
|
|
"java.completion.importOrder": [
|
|
"java",
|
|
"javax",
|
|
"org.springframework",
|
|
"org",
|
|
"com"
|
|
],
|
|
|
|
// 针对 Java 文件的特定配置
|
|
"[java]": {
|
|
"editor.formatOnSave": false,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": false
|
|
}
|
|
},
|
|
"workbench.colorTheme": "One Dark",
|
|
"catppuccin.italicKeywords": false,
|
|
"oneDark.italic": false,
|
|
"labuladong-leetcode.hint.commandShortcut": false,
|
|
"labuladong-leetcode.hint.configWebviewMarkdown": false,
|
|
"workbench.layoutControl.enabled": false,
|
|
"cursor.composer.shouldAllowCustomModes": true,
|
|
"python.defaultInterpreterPath": "/opt/homebrew/bin/python3",
|
|
"cursorStats.language": "zh",
|
|
"editor.accessibilitySupport": "on",
|
|
"workbench.editor.editorActionsLocation": "hidden",
|
|
"workbench.editor.showTabs": "multiple",
|
|
"java.import.generatesMetadataFilesAtProjectRoot": false,
|
|
"typescript.experimental.useTsgo": true,
|
|
"window.autoDetectColorScheme": false
|
|
}
|