[Qt] Qt Creator中配置 Vs-Code 编码风格

2024-06-19 23:12

本文主要是介绍[Qt] Qt Creator中配置 Vs-Code 编码风格,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

新建vscode-onedark.xml文档 ,将如下内容复制进去,并配置到Creator中:

<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="One Dark"><style name="Text" foreground="#abb2bf" background="#282c34"/><style name="Link" underlineStyle="SingleUnderline"/><style name="Selection" background="#3e4451"/><style name="LineNumber" foreground="#4b5363"/><style name="SearchResult" background="#324365"/><style name="SearchScope" background="#3e4451"/><style name="Parentheses" underlineColor="#61afef" underlineStyle="SingleUnderline"/><style name="ParenthesesMismatch" foreground="#000000" background="#c678dd"/><style name="AutoComplete" background="#3e4451"/><style name="CurrentLine" background="#3a3f4b"/><style name="CurrentLineNumber" foreground="#777c87"/><style name="Occurrences" background="#324365"/><style name="Occurrences.Unused" underlineColor="#d19a66" underlineStyle="DashUnderline"/><style name="Occurrences.Rename" background="#e06c75"/><style name="Number" foreground="#d19a66"/><style name="String" foreground="#98c379"/><style name="Type" foreground="#61afef"/><style name="Local"/><style name="Global"/><style name="Field" foreground="#e06c75"/><style name="Static" foreground="#61afef" italic="true"/><style name="VirtualMethod" foreground="#61afef" italic="true"/><style name="Function" foreground="#61afef"/><style name="Keyword" foreground="#c678dd"/><style name="PrimitiveType" foreground="#c678dd"/><style name="Operator" foreground="#c678dd"/><style name="Overloaded Operator" foreground="#c678dd"/><style name="Punctuation"/><style name="Preprocessor" foreground="#c678dd"/><style name="Label" foreground="#e06c75" bold="true"/><style name="Comment" foreground="#6A9955" italic="true"/><style name="Doxygen.Comment" foreground="#5c6370" italic="true"/><style name="Doxygen.Tag" foreground="#61afef"/><style name="VisualWhitespace" foreground="#3c4049"/><style name="QmlLocalId" foreground="#61afef"/><style name="QmlExternalId"/><style name="QmlTypeId" foreground="#61afef"/><style name="QmlRootObjectProperty" foreground="#61afef"/><style name="QmlScopeObjectProperty" foreground="#61afef"/><style name="QmlExternalObjectProperty"/><style name="JsScopeVar"/><style name="JsImportVar" foreground="#d19a66"/><style name="JsGlobalVar" foreground="#d19a66"/><style name="QmlStateName" foreground="#61afef"/><style name="Binding" foreground="#c678dd"/><style name="DisabledCode" foreground="#5c6370"/><style name="AddedLine" foreground="#98c379"/><style name="RemovedLine" foreground="#e06c75"/><style name="DiffFile" foreground="#61afef"/><style name="DiffLocation" foreground="#d19a66"/><style name="DiffFileLine" foreground="#000000" background="#e5c07b"/><style name="DiffContextLine" foreground="#000000" background="#56b6c2"/><style name="DiffSourceLine" foreground="#000000" background="#be5046"/><style name="DiffSourceChar" foreground="#000000" background="#e06c75"/><style name="DiffDestLine" foreground="#000000" background="#789353"/><style name="DiffDestChar" foreground="#000000" background="#98c379"/><style name="LogChangeLine" foreground="#e06c75"/><style name="LogAuthorName" foreground="#61afef"/><style name="LogCommitDate" foreground="#98c379"/><style name="LogCommitHash" foreground="#e06c75"/><style name="LogCommitSubject"/><style name="LogDecoration" foreground="#c678dd"/><style name="Warning" underlineColor="#d19a66" underlineStyle="SingleUnderline"/><style name="WarningContext" underlineColor="#d19a66" underlineStyle="DotLine"/><style name="Error" underlineColor="#e06c75" underlineStyle="SingleUnderline"/><style name="ErrorContext" underlineColor="#e06c75" underlineStyle="DotLine"/><style name="Declaration"/><style name="FunctionDefinition"/><style name="OutputArgument" italic="true"/><style name="LastStyleSentinel"/>
</style-scheme>

配置:

这篇关于[Qt] Qt Creator中配置 Vs-Code 编码风格的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1076421

相关文章

Nginx 配置跨域的实现及常见问题解决

《Nginx配置跨域的实现及常见问题解决》本文主要介绍了Nginx配置跨域的实现及常见问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来... 目录1. 跨域1.1 同源策略1.2 跨域资源共享(CORS)2. Nginx 配置跨域的场景2.1

gitlab安装及邮箱配置和常用使用方式

《gitlab安装及邮箱配置和常用使用方式》:本文主要介绍gitlab安装及邮箱配置和常用使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1.安装GitLab2.配置GitLab邮件服务3.GitLab的账号注册邮箱验证及其分组4.gitlab分支和标签的

MySQL MCP 服务器安装配置最佳实践

《MySQLMCP服务器安装配置最佳实践》本文介绍MySQLMCP服务器的安装配置方法,本文结合实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下... 目录mysql MCP 服务器安装配置指南简介功能特点安装方法数据库配置使用MCP Inspector进行调试开发指

Redis Cluster模式配置

《RedisCluster模式配置》:本文主要介绍RedisCluster模式配置,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录分片 一、分片的本质与核心价值二、分片实现方案对比 ‌三、分片算法详解1. ‌范围分片(顺序分片)‌2. ‌哈希分片3. ‌虚

SpringBoot项目配置logback-spring.xml屏蔽特定路径的日志

《SpringBoot项目配置logback-spring.xml屏蔽特定路径的日志》在SpringBoot项目中,使用logback-spring.xml配置屏蔽特定路径的日志有两种常用方式,文中的... 目录方案一:基础配置(直接关闭目标路径日志)方案二:结合 Spring Profile 按环境屏蔽关

Maven 配置中的 <mirror>绕过 HTTP 阻断机制的方法

《Maven配置中的<mirror>绕过HTTP阻断机制的方法》:本文主要介绍Maven配置中的<mirror>绕过HTTP阻断机制的方法,本文给大家分享问题原因及解决方案,感兴趣的朋友一... 目录一、问题场景:升级 Maven 后构建失败二、解决方案:通过 <mirror> 配置覆盖默认行为1. 配置示

Springboot3+将ID转为JSON字符串的详细配置方案

《Springboot3+将ID转为JSON字符串的详细配置方案》:本文主要介绍纯后端实现Long/BigIntegerID转为JSON字符串的详细配置方案,s基于SpringBoot3+和Spr... 目录1. 添加依赖2. 全局 Jackson 配置3. 精准控制(可选)4. OpenAPI (Spri

maven私服配置全过程

《maven私服配置全过程》:本文主要介绍maven私服配置全过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录使用Nexus作为 公司maven私服maven 私服setttings配置maven项目 pom配置测试效果总结使用Nexus作为 公司maven私

springboot加载不到nacos配置中心的配置问题处理

《springboot加载不到nacos配置中心的配置问题处理》:本文主要介绍springboot加载不到nacos配置中心的配置问题处理,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑... 目录springboot加载不到nacos配置中心的配置两种可能Spring Boot 版本Nacos

python编写朋克风格的天气查询程序

《python编写朋克风格的天气查询程序》这篇文章主要为大家详细介绍了一个基于Python的桌面应用程序,使用了tkinter库来创建图形用户界面并通过requests库调用Open-MeteoAPI... 目录工具介绍工具使用说明python脚本内容如何运行脚本工具介绍这个天气查询工具是一个基于 Pyt