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

javaer快速从idea转战vscode

插件安装列表

在插市场安装下面插件

  • Extension Pack for Java
  • Spring Boot Tools 配置文件提示
  • Database Client Database/No-SQL管理工具
  • httpYac - Rest Client .http文件编辑、API测试工具
    https://httpyac.github.io/guide/request.html
  • Git Graph 图形化Git工具
  • XML by Red Hat XML自动提示及格式化
  • YAML by Red Hat K8S自动提示,格式化
  • MybatisX mybatis插件

设置参数setting.json

在这里插入图片描述

  • maven建议直接修改./m2/setting.xml
  • 设置自动保存Files: Auto Save
  • 设置控制台打印的编码
    setting.json
{"http.proxyStrictSSL": false,"http.proxyAuthorization": null,"cursor.general.disableHttp2": true,"git.autofetch": true,"redhat.telemetry.enabled": true,"database-client.autoSync": true,"xml.validation.enabled": false,"diffEditor.ignoreTrimWhitespace": false,"workbench.editor.limit.enabled": true,"files.autoSave": "onFocusChange","git.enableSmartCommit": true,"gitlens.views.commitDetails.files.layout": "tree","java.autoAddMissingImports": true,"terminal.integrated.defaultProfile.windows": "Command Prompt","terminal.integrated.profiles.windows": {"Command Prompt": {"path": "cmd.exe"args": ["/K", "chcp 65001"],"env": {"JAVA_TOOL_OPTIONS": "-Dfile.encoding=UTF-8"}}},
}

配置服务启动文件launch.json

在这里插入图片描述

{// 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"type": "java","name": "CDCApplication(test3)","request": "launch","mainClass": "com.CDCApplication","projectName": "platform-api-front","vmArgs": ["-Dfile.encoding=UTF-8"],"encoding": "UTF-8","args": ["--spring.application.name=platform-api","--server.port=31500","--spring.cloud.nacos.config.server-addr=127.0.0.1:8848","--spring.cloud.nacos.config.namespace=test-3","--spring.cloud.nacos.config.username=test3","--spring.cloud.nacos.config.password=test3","--spring.cloud.nacos.config.prefix=platform-api","--spring.cloud.nacos.config.shared-dataids=application.yml","--spring.cloud.nacos.config.refreshable-dataids=application.yml,platform-api.yml","--spring.cloud.nacos.discovery.enabled=true","--spring.cloud.nacos.discovery.register-enabled=false","--mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl","--medicalboot.simple-sign=false","--logging.level.com.fpva.fact.mapper=debug","--logging.level.com.fpva.customized.mapper=debug","--logging.level.com.fpva.dal.mapper.*=debug"]}]
}
http://www.xdnf.cn/news/338509.html

相关文章:

  • 【Java ee 初阶】文件操作和IO(上)
  • 经验:从CAN到以太网为主的车载网络架构升级
  • 实时云渲染——比像素流送节省80%精力的UE程序推流技术
  • 网盘解析工具更新,支持UC网盘!!
  • 配置VS的DLL文件引用目录(两种方案,无需每次生成dll后手动将其复制到exe目录下)
  • vue2 两种路由跳转方式
  • window 显示驱动开发-处理内存段(二)
  • C++GO语言微服务基础技术①
  • IDEA 2024 版本配置热部署
  • 【计算机网络】--tcp三次握手
  • 【Pandas】pandas DataFrame ewm
  • 2024年 AI大模型我该买一张什么显卡?
  • 好消息!PyCharm 社区版现已支持直接选择 WSL 终端为默认终端
  • 最新Spring Security实战教程(十四)OAuth2.0精讲 - 四种授权模式与资源服务器搭建
  • 【hadoop】Sqoop数据迁移工具的安装部署
  • 22、近端策略优化算法(PPO)论文笔记
  • 深入理解Spring缓存注解:@Cacheable与@CacheEvict
  • 避免数据丢失:在存储测试数据之前,要做好Redis持久化
  • SyntaxError: Non-UTF-8 code starting with ‘\xe5‘ in file
  • 仓储车间安全革命:AI叉车防撞装置系统如何化解操作风险
  • 晶振:智能设备的“心跳”如何支撑5G与航天
  • Spring Boot 启动原理的核心机制
  • STM32-模电
  • 关于汇编语言与程序设计——单总线温度采集与显示的应用
  • React 笔记[1] hello world
  • 【程序员AI入门:应用开发】8.LangChain的核心抽象
  • 基于springboot+vue的校园部门资料管理系统
  • 2025最新免费视频号下载工具!支持Win/Mac,一键解析原画质+封面
  • 小刚说C语言刷题—1341银行存款问题
  • 到达最后一个房间的最少时间II 类似棋盘转移规律查找