VScode回归ACM模式(古法编程)配置

要有古法编程的能力, 面对AI的最后一丝掙扎, 不能废了(打脸), 要更改settings.json如下

json 复制代码
{
    "C_Cpp_Runner.cCompilerPath": "clang",
    "C_Cpp_Runner.cppCompilerPath": "clang++",
    "C_Cpp_Runner.debuggerPath": "lldb",
    "C_Cpp_Runner.cStandard": "c17",
    "C_Cpp_Runner.cppStandard": "c++17",
    "C_Cpp_Runner.msvcBatchPath": "",
    "C_Cpp_Runner.useMsvc": false,
    "C_Cpp_Runner.warnings": [
        "-Wall",
        "-Wextra",
        "-Wpedantic",
        "-Wshadow",
        "-Wformat=2",
        "-Wcast-align",
        "-Wconversion",
        "-Wsign-conversion",
        "-Wnull-dereference"
    ],
    "C_Cpp_Runner.msvcWarnings": [
        "/W4",
        "/permissive-",
        "/w14242",
        "/w14287",
        "/w14296",
        "/w14311",
        "/w14826",
        "/w44062",
        "/w44242",
        "/w14905",
        "/w14906",
        "/w14263",
        "/w44265",
        "/w14928"
    ],
    "C_Cpp_Runner.enableWarnings": true,
    "C_Cpp_Runner.warningsAsError": false,
    "C_Cpp_Runner.compilerArgs": [],
    "C_Cpp_Runner.linkerArgs": [],
    "C_Cpp_Runner.includePaths": [],
    "C_Cpp_Runner.includeSearch": [
        "*",
        "**/*"
    ],
    "C_Cpp_Runner.excludeSearch": [
        "**/build",
        "**/build/**",
        "**/.*",
        "**/.*/**",
        "**/.vscode",
        "**/.vscode/**"
    ],
    "C_Cpp_Runner.useAddressSanitizer": true,
    "C_Cpp_Runner.useUndefinedSanitizer": true,
    "C_Cpp_Runner.useLeakSanitizer": false,
    "C_Cpp_Runner.showCompilationTime": true,
    "C_Cpp_Runner.useLinkTimeOptimization": false,
    "C_Cpp_Runner.msvcSecureNoWarnings": false,

    "editor.acceptSuggestionOnEnter": "off",
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
    },
    "editor.inlineSuggest.enabled": false,
    "github.copilot.enable": {
        "*": true,
        "plaintext": false,
        "markdown": false,
        "comment": false
    },

    "editor.formatOnSave": false,
    "editor.formatOnType": false,
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.detectIndentation": false,
    "editor.rulers": [80, 120],
    "editor.cursorSurroundingLines": 8,
    "editor.minimap.enabled": false,

    "C_Cpp.default.compilerPath": "clang++",
    "C_Cpp.default.cStandard": "c17",
    "C_Cpp.default.cppStandard": "c++17",
    "C_Cpp.errorSquiggles": "enabled",
    "C_Cpp.intelliSenseEngine": "default",
    "C_Cpp.autocomplete": "default",

    "files.encoding": "utf8",
    "files.eol": "\n",
    "files.trimTrailingWhitespace": true,
    "files.insertFinalNewline": true,

    "terminal.integrated.defaultProfile.linux": "bash",
    "terminal.integrated.defaultProfile.osx": "zsh"
}
相关推荐
qeen8717 小时前
【Linux】Ext2文件系统介绍
linux·服务器
FlightYe18 小时前
视界原理之3D视频(三):解码和显示
android·linux·3d·ffmpeg·音视频·android runtime
牢姐与蒯18 小时前
Linux网络篇——TCP(一)之手搓TCP,并实现词典和远程命令
linux·网络·tcp/ip
FlightYe18 小时前
linux系统编程(十七):内存管理基础
android·linux·ffmpeg·音视频·android runtime
严同学正在努力18 小时前
PostgreSQL 数据库安装部署教程(Linux 多发行版 + Windows + Docker 全覆盖)
linux·数据库·postgresql
oyzz12019 小时前
CentOS Stream 9 配置静态 IP 口令是多少
linux·tcp/ip·centos
无巧不成书021819 小时前
Tomcat部署JSP文件完整指南:手动部署+IDEA工程化实现 附404访问错误全排查
java·ide·windows·tomcat·intellij-idea·js
曹牧19 小时前
Eclipse:Subclipse
java·ide·eclipse
化雨成烟19 小时前
linux基础命令2
linux·运维·服务器
运维踩坑日记19 小时前
OpenStack 核心服务实战笔记
linux·运维·服务器·笔记·openstack