当前位置: 首页 > 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"]}]
}

相关文章:

  • SpringBoot应急知识学习系统开发实现
  • AI CUBE 使用指南 目标检测格式范例 AI cube 报错数据集不合规范,请清洗数据集
  • 简易的考试系统设计(Web实验)
  • 差分OPA verilogaA 模型
  • uniapp自定义步骤条(可二开进行调试)
  • 幂等的几种解决方案以及实践
  • Memgraph 的安装教程
  • node.js 实战——在express 中将input file 美化,并完成裁剪、上传进度条
  • uni-pages-hot-modules插件:uni-app的pages.json的模块化及模块热重载
  • python实现的音乐播放器
  • 【Pandas】pandas DataFrame abs
  • 无实体对话式社交机器人 拟人化印象形成机制:基于多模态交互与文化适配的拓展研究
  • 使用ESPHome烧录固件到ESP32-C3并接入HomeAssistant
  • 使用pytorch保存和加载预训练的模型方法
  • 基于Transformer的多资产收益预测模型实战(附PyTorch实现与避坑指南)
  • OpenHarmony平台驱动开发(九),MIPI DSI
  • 如何使用npm下载指定版本的cli工具
  • 【MySQL】存储引擎 - MyISAM详解
  • FPGA_Verilog实现QSPI驱动,完成FLASH程序固化
  • [ctfshow web入门] web57
  • 外交部:中方高度重视同太平洋岛国的关系,双方友好合作关系正不断深化和发展
  • 演员朱媛媛去世,其丈夫辛柏青发讣告
  • 工程院院士、武汉纺织大学校长徐卫林拟任湖北省属本科高校党委书记
  • 金爵奖主竞赛单元评委名单公布,中国评委有黄渤、咏梅等人
  • 印尼总统20年来首次访泰:建立战略伙伴关系,加强打击网络诈骗等合作
  • 上海浦江游览南拓新航线首航,途经前滩、世博文化公园等景点