Vscode Java开发配置


{
    // 终端美化
    "workbench.colorCustomizations": {
      // "terminal.background": "#1D2021",
      // "terminal.foreground": "#D5C4A1",
      // "terminalCursor.background": "#D5C4A1",
      // "terminalCursor.foreground": "#D5C4A1",
      // "terminal.ansiBlack": "#1D2021",
      // "terminal.ansiBlue": "#83A598",
      // "terminal.ansiBrightBlack": "#665C54",
      // "terminal.ansiBrightBlue": "#83A598",
      // "terminal.ansiBrightCyan": "#8EC07C",
      // "terminal.ansiBrightGreen": "#B8BB26",
      // "terminal.ansiBrightMagenta": "#D3869B",
      // "terminal.ansiBrightRed": "#FB4934",
      // "terminal.ansiBrightWhite": "#FBF1C7",
      // "terminal.ansiBrightYellow": "#FABD2F",
      // "terminal.ansiCyan": "#8EC07C",
      // "terminal.ansiGreen": "#B8BB26",
      // "terminal.ansiMagenta": "#D3869B",
      // "terminal.ansiRed": "#FB4934",
      // "terminal.ansiWhite": "#D5C4A1",
      // "terminal.ansiYellow": "#FABD2F"
	 },
	 
    "workbench.iconTheme": "material-icon-theme",
    "editor.guides.bracketPairs": true,
    "editor.codeActionsOnSave": {
    
    },
    "files.autoSave": "afterDelay",
    // xxxx 代理配置
    // "http.proxy": "http://xxxx.xxxx.xxx",
    // "http.proxyStrictSSL": false,
    // "http.proxySupport": "on",

    // springboot 配置
    "java.jdt.ls.java.home":"d:\\etc\\jdk-17.0.8.7-hotspot",
    "java.configuration.maven.userSettings": "D:\\usr\\apache-maven-3.9.4\\conf\\settings.xml",
    "java.configuration.maven.globalSettings": "D:\\usr\\apache-maven-3.9.4\\conf\\settings.xml",
    "maven.executable.path": "D:\\usr\\apache-maven-3.9.4\\bin\\mvn.cmd",

    "maven.excludedFolders": [

        "**/.*",
        "**/node_modules",
        "**/target",
        "**/bin",
        "**/archetype-resources"
    ],
    "extensions.autoUpdate": false,
    "redhat.telemetry.enabled": true,

    // java
    "java.configuration.runtimes": [

        {
          "name": "JavaSE-1.8",
          "path": "D:\\etc\\jdk-1.8",
        },
        {
          "name": "JavaSE-11",
          "path": "D:\\etc\\jdk-11.0.20.8-hotspot",
        },
        {
          "name": "JavaSE-17",
          "path": "D:\\etc\\jdk-17.0.8.7-hotspot",
          "default": true
        },
      ],
      "boot-java.rewrite.reconcile": true,
      "security.workspace.trust.untrustedFiles": "open",
      // 远程服务器
      "remote.SSH.remotePlatform": {
        "60.204.200.91": "linux"
      },
      "workbench.colorTheme": "Default Dark+",
      "git.autofetch": true,
      // 数据库配置
      "sqltools.connections": [
        {
          "mysqlOptions": {
            "authProtocol": "default",
            "enableSsl": "Disabled"
          },
          "previewLimit": 50,
          "server": "localhost",
          "port": 9030,
          "driver": "MySQL",
          "name": "doris",
          "username": "root",
          "password": "root",
          "database": "mysql"
        }
      ],
      "[vue]": {
        "editor.defaultFormatter": "Vue.volar"
      },
      "terminal.integrated.defaultProfile.windows": "Windows PowerShell",
      "terminal.integrated.profiles.windows": {
        "PowerShell": {
          "source": "PowerShell",
          "icon": "terminal-powershell"
        },
        "Command Prompt": {
          "path": [
            "${env:windir}\\Sysnative\\cmd.exe",
            "${env:windir}\\System32\\cmd.exe"
          ],
          "args": [],
          "icon": "terminal-cmd"
        },
        "Git Bash": {
          "source": "Git Bash"
        },
        "Ubuntu (WSL)": {
          "path": "C:\\windows\\System32\\wsl.exe",
          "args": [
            "-d",
            "Ubuntu"
          ]
        },
        "Windows PowerShell": {
          "path": "C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
        }
      },
      "git.enableSmartCommit": true,
      "editor.unicodeHighlight.nonBasicASCII": false,
      // python配置
      "python.defaultInterpreterPath": "D:\\etc\\Python\\Python39",

}

posted @ 2024-07-05 12:39  Reisen7  阅读(39)  评论(0)    收藏  举报  来源