vscode/cursor怎么自定义文字、行高、颜色(settings.json)

JetBrains Mono: A free and open source typeface for developers | JetBrains: Developer Tools for Professionals and Teams

首先下载上面的文字,然后右键全选,安装

然后重启cursor

下载插件Apc Customize UI++

点击设置

把下面的代码复制进去,就可以了

复制代码
{
    "workbench.commandPalette.experimental.suggestCommands": true,
    "[python]": {
        "editor.formatOnType": true
    },    

    "editor.fontSize": 13.5,
    "editor.fontFamily": "JetBrains Mono",
    "editor.lineHeight":1.4,
    "window.zoomPerWindow": false,
    "explorer.confirmDragAndDrop": false,
    "http.proxySupport": "off",
    "cursor.composer.textSizeScale": 1.10,
    "files.autoSave": "afterDelay",
    "workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-light",
    "workbench.colorTheme": "light-jetbrains-color-theme",
    "editor.tokenColorCustomizations": {
        // "comments": "#EE00EE", // 注释
       "keywords": "#EE00EE", // 关键字
    //    "variables": "#f00", // 变量名
       "strings": "#000000", // 字符串
       "functions": "#0019f7", // 函数名
       "numbers": "#AE81FF" // 数字
    },
    "customizeUI.fontSizeMap": {

        "13px": "11px",
        "monospace": "12px"
    },
    "customizeUI.stylesheet": {
        
    },
    "apc.stylesheet": {
        
    },
    "debug.console.fontFamily": "JetBrains Mono",
    "debug.console.lineHeight": 1.4,

    "http.proxy": "http://127.0.0.1:7897",
    "http.proxyKerberosServicePrincipal": "https://127.0.0.1:7897",
    "window.zoomLevel": 1,
    "editor.fontLigatures": true,
    "editor.codeActionsOnSave": {

    },

    // 下面是terminal的字体大小和颜色
    "terminal.integrated.fontSize": 13,  // 你需要的字号,比如14
    "workbench.colorCustomizations":{
        "terminal.background":"#FFFFFF",
        "terminal.foreground":"#404040",
        "terminalCursor.background":"#404040",
        "terminalCursor.foreground":"#404040",
        "terminal.ansiBlack":"#FFFFFF",
        "terminal.ansiBlue":"#0000FF",
        "terminal.ansiBrightBlack":"#808080",
        "terminal.ansiBrightBlue":"#0000FF",
        "terminal.ansiBrightCyan":"#318495",
        "terminal.ansiBrightGreen":"#007400",
        "terminal.ansiBrightMagenta":"#A90D91",
        "terminal.ansiBrightRed":"#C41A15",
        "terminal.ansiBrightWhite":"#5E5E5E",
        "terminal.ansiBrightYellow":"#826B28",
        "terminal.ansiCyan":"#318495",
        "terminal.ansiGreen":"#007400",
        "terminal.ansiMagenta":"#A90D91",
        "terminal.ansiRed":"#C41A15",
        "terminal.ansiWhite":"#404040",
        "terminal.ansiYellow":"#826B28",
    },
    "editor.largeFileOptimizations": false,
    "workbench.editor.enablePreview": false,
    "explorer.confirmPasteNative": false,
    "workbench.editorLargeFileConfirmation": 10240,

    // 这个可以使用自己的执行器的前提是,你的python文件开头不要包含:# !/usr/bin/env python3
    "code-runner.executorMap": {
        "python": "$pythonPath $fullFileName"
    },
    // 下面这里控制是否在terminal中运行
    "code-runner.runInTerminal": true,


    
}

在VS Code中设置字体颜色_vs code字体颜色-CSDN博客

相关推荐
Aevget2 小时前
「Java EE开发指南」用MyEclipse开发的EJB开发工具(二)
java·ide·java-ee·eclipse·myeclipse
AI视觉网奇3 小时前
pycharm 默认终端设置 cmd
ide·python·pycharm
ii_best4 小时前
IOS/ 安卓开发工具按键精灵Sys.GetAppList 函数使用指南:轻松获取设备已安装 APP 列表
android·开发语言·ios·编辑器
yudiandian20148 小时前
03 Eclipse 配置 JDK 环境
java·ide·eclipse
彦楠10 小时前
IDEA实用快捷键
java·ide·intellij-idea
热爱生活的五柒11 小时前
vscode左边打开文件后会覆盖上一个打开的文件,有什么不覆盖的方法
ide·vscode·编辑器
精英的英11 小时前
【工具开发】适用于交叉编译环境的QT qmake项目转换vscode项目插件
人工智能·vscode·qt·开源软件
嵌入式小能手11 小时前
飞凌嵌入式ElfBoard-Vim编辑器之Vim常用操作命令
linux·编辑器·vim
假装我不帅21 小时前
wsl+vscode开发.net项目
ide·vscode·.net
小蕾Java1 天前
【VSCode】Visual Studio Code 2025安装包及安装教程 (附所有版本下载)
ide·vscode·编辑器