当前位置: 首页 > news >正文

cursor使用配置

官网地址:

https://cursor.com/cn/home?from=agents

配置环境

打开配置文件快捷键:cmd+shift+p

输入: settings.json

选择open user settings

插入以下配置

{// java环境配置"maven.executable.path": "/Users/xxx/Downloads/maven/apache-maven-3.6.3/bin/mvn","maven.terminal.useJavaHome": true,"java.configuration.maven.userSettings": "/Users/xxx/Downloads/maven/apache-maven-3.6.3/conf/settings.xml","java.jdt.ls.java.home": "/Library/Java/JavaVirtualMachines/jdk-11.0.17.jdk/Contents/Home","java.configuration.runtimes": [{"name": "JavaSE-11","path": "/Library/Java/JavaVirtualMachines/jdk-11.0.17.jdk/Contents/Home","default": true},{"name": "JavaSE-1.8","path": "/Library/Java/JavaVirtualMachines/jdk1.8.0_351.jdk/Contents/Home","default": false}],"maven.executable.preferMavenWrapper": true,"files.autoGuessEncoding": true,"files.encoding": "utf8",// Git和资源管理器装饰配置 - 确保级联生效"explorer.decorations.colors": true,"explorer.decorations.badges": true,"git.autofetch": true,"git.decorations.enabled": true,"git.decorations.colors": true,"git.decorations.badges": true,"scm.diffDecorations": "all","scm.diffDecorationsGutterVisibility": "always","scm.diffDecorationsMinimal": false,// 字体配置"editor.fontFamily": "JetBrains Mono, Menlo, Monaco, 'Courier New', monospace","editor.fontSize": 14,"editor.lineHeight": 22,"editor.fontLigatures": true,// 终端字体设置"terminal.integrated.fontFamily": "JetBrains Mono","terminal.integrated.fontSize": 13,// 缩进配置"editor.tabSize": 2,"editor.insertSpaces": true,"editor.renderWhitespace": "boundary","editor.guides.indentation": true,"editor.guides.bracketPairs": true,"editor.detectIndentation": true,"[javascript]": {"editor.tabSize": 2},"[java]": {"editor.tabSize": 4},"[python]": {"editor.tabSize": 4},// 工作区颜色配置"workbench.colorTheme": "Default Dark+","workbench.colorCustomizations": {"editor.background": "#0b1220","editor.foreground": "#d1d5db","editorCursor.foreground": "#ffcc00","editorLineNumber.foreground": "#6b7280","editorIndentGuide.activeBackground1": "#4b5563",// git 颜色配置"gitDecoration.stageModifiedResourceForeground": "#22c55e",// 修改状态统一绿色"editorGutter.modifiedBackground": "#2ea043","editorOverviewRuler.modifiedForeground": "#2ea043",// Git状态装饰颜色"gitDecoration.modifiedResourceForeground": "#2ea043","gitDecoration.addedResourceForeground": "#2ea043","gitDecoration.untrackedResourceForeground": "#2ea043","gitDecoration.deletedResourceForeground": "#f85149","gitDecoration.ignoredResourceForeground": "#8c8c8c","gitDecoration.conflictingResourceForeground": "#ffa500","gitDecoration.submoduleResourceForeground": "#4ec9b0",},// 语法高亮配置"editor.tokenColorCustomizations": {"textMateRules": [{"scope": "keyword.control.java","settings": {"foreground": "#C586C0"}},{"scope": "storage.type.java","settings": {"foreground": "#569CD6"}},{"scope": "entity.name.class.java","settings": {"foreground": "#4EC9B0"}},{"scope": "variable.other.enummember.java","settings": {"foreground": "#4FC1FF"}},{"scope": "string.quoted.double.java","settings": {"foreground": "#d55929"}},{"scope": "comment.line.double-slash.java","settings": {"foreground": "#6A9955"}},{"scope": "comment.block.java","settings": {"foreground": "#6A9955"}}]},}


文章转载自:

http://wAvNgpz7.sqtsL.cn
http://BTFBmvzI.sqtsL.cn
http://S67Q1M7O.sqtsL.cn
http://XkRGaU4B.sqtsL.cn
http://SpotlP3z.sqtsL.cn
http://0CZ05qK7.sqtsL.cn
http://urc778FH.sqtsL.cn
http://GwJ3mqtl.sqtsL.cn
http://jAjrmi61.sqtsL.cn
http://U9HszY1E.sqtsL.cn
http://IXAz94di.sqtsL.cn
http://iOUKgkhK.sqtsL.cn
http://UGUhlScZ.sqtsL.cn
http://KhsDFwfi.sqtsL.cn
http://qZAb5ITQ.sqtsL.cn
http://9Dmj7hbh.sqtsL.cn
http://Hr1DgFvC.sqtsL.cn
http://HCeGE2NJ.sqtsL.cn
http://pyz9HoG4.sqtsL.cn
http://50nkdJvP.sqtsL.cn
http://zeeUt0sc.sqtsL.cn
http://DyNj4CTf.sqtsL.cn
http://8ppvvETE.sqtsL.cn
http://zWAaXBvx.sqtsL.cn
http://5Gf2CH69.sqtsL.cn
http://2skNBOT7.sqtsL.cn
http://Rt7Qu0tr.sqtsL.cn
http://0fQmsp3q.sqtsL.cn
http://Zncnd2BC.sqtsL.cn
http://c25R3GFm.sqtsL.cn
http://www.dtcms.com/a/367031.html

相关文章:

  • Linux内核进程管理子系统有什么第四十二回 —— 进程主结构详解(38)
  • OpenLayers常用控件 -- 章节三:鼠标位置坐标显示控件教程
  • QT6(拖放事件与拖放操作)
  • Java全栈工程师的实战面试:从Vue到Spring Boot的技术旅程
  • 3ds Max流体模拟终极指南:打造逼真液体效果,从瀑布到杯中溢出的饮料!
  • 处理PostgreSQL中的磁盘I/O瓶颈
  • Redission 对比isHeldByCurrentThread()和unlock()
  • 逻辑回归基础
  • 目标检测如何将同时有方形框和旋转框的json/xml标注转为txt格式
  • 拦截器和过滤器(理论+实操)
  • HTML 基本结构
  • 《Html泛型魔法学院:用霍格沃茨风格网页教授集合框架》
  • 【LVGL】从HTML到LVGL:嵌入式UI的设计迁移与落地实践
  • 白平衡分块统计数据为什么需要向下采样?
  • 基于单片机智能扫地机器人/智能小车设计
  • 2025 前端 3D 选型指南:Three.js、Babylon.js、WebGPU 深度对比
  • AI视频画质提升效果实用指南:提升清晰度的完整路径
  • Boost搜索引擎 数据清洗与去标签(1)
  • Deeplizard深度学习课程(七)—— 神经网络实验
  • 深度学习——数据增强
  • 在线测评系统---第n天
  • 【nuscenes数据集有关】
  • 你的图片又被别人“白嫖”了?用这篇Java防盗链攻略说再见!
  • python中的import和from两种导入方式有什么区别
  • MyBatis核心技术全解
  • 标注工具labelimg使用简介
  • 用 Rust + Actix-Web 打造“Hello, WebSocket!”——从握手到回声,只需 50 行代码
  • 【Java EE进阶 --- SpringBoot】Spring IoC
  • 机器学习基础-day03-机器学习中的线性回归
  • GPT-5冷酷操盘,游戏狼人杀一战封神!七大LLM狂飙演技,人类玩家看完沉默