[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

相关文章

Linux 安装、配置Tomcat 的HTTPS

Linux 安装 、配置Tomcat的HTTPS 安装Tomcat 这里选择的是 tomcat 10.X ,需要Java 11及更高版本 Binary Distributions ->Core->选择 tar.gz包 下载、上传到内网服务器 /opt 目录tar -xzf 解压将解压的根目录改名为 tomat-10 并移动到 /opt 下, 形成个人习惯的路径 /opt/tomcat-10

uniapp接入微信小程序原生代码配置方案(优化版)

uniapp项目需要把微信小程序原生语法的功能代码嵌套过来,无需把原生代码转换为uniapp,可以配置拷贝的方式集成过来 1、拷贝代码包到src目录 2、vue.config.js中配置原生代码包直接拷贝到编译目录中 3、pages.json中配置分包目录,原生入口组件的路径 4、manifest.json中配置分包,使用原生组件 5、需要把原生代码包里的页面修改成组件的方

Windwos +vs 2022 编译openssl 1.0.2 库

一 前言 先说 结论,编译64位报错,查了一圈没找到解决方案,最后换了32位的。 使用qt访问web接口,因为是https,没有openssl库会报错 QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());if (reply){if (reply->error() == QNetworkReply::NoError

IDEA配置Tomcat远程调试

因为不想把本地的Tomcat配置改乱或者多人开发项目想测试,本文主要是记录一下,IDEA使用Tomcat远程调试的配置过程,免得一段时间不去配置到时候忘记(毕竟这次是因为忘了,所以才打算记录的…) 首先在catalina.sh添加以下内容 JAVA_OPTS="-Dcom.sun.management.jmxremote=-Dcom.sun.management.jmxremote.port

Steam邮件推送内容有哪些?配置教程详解!

Steam邮件推送功能是否安全?如何个性化邮件推送内容? Steam作为全球最大的数字游戏分发平台之一,不仅提供了海量的游戏资源,还通过邮件推送为用户提供最新的游戏信息、促销活动和个性化推荐。AokSend将详细介绍Steam邮件推送的主要内容。 Steam邮件推送:促销优惠 每当平台举办大型促销活动,如夏季促销、冬季促销、黑色星期五等,用户都会收到邮件通知。这些邮件详细列出了打折游戏、

微信小程序开发必知必会:文件结构和基本配置

一、微信小程序基本文件结构 1.  project.config.json:项目的基本配置文件,包括项目名称、appid、项目目录、页面文件夹等。     {"setting": {"urlCheck": false,"es6": true,"postcss": true,"nodeModulesPath": "D:\\\\node_modules"},"appid": "wxd678e

【杂记-浅谈DHCP动态主机配置协议】

DHCP动态主机配置协议 一、DHCP概述1、定义2、作用3、报文类型 二、DHCP的工作原理三、DHCP服务器的配置和管理 一、DHCP概述 1、定义 DHCP,Dynamic Host Configuration Protocol,动态主机配置协议,是一种网络协议,主要用于在IP网络中自动分配和管理IP地址以及其他网络配置参数。 2、作用 DHCP允许计算机和其他设备通

Pycharm配置conda环境(解决新版本无法识别可执行文件问题)

引言: 很多小伙伴在下载最新版本的pycharm或者更新到最新版本后为项目配置conda环境的时候,发现文件夹目录中无法显示可执行文件(一般为python.exe),以下就是本人遇到该问题后试验和解决该问题的一些方法和思路。 一般遇到该问题的人群有两种,一种是刚入门对pycharm进行conda环境配置的小白(例如我),不熟悉相关环境配置的操作和过程,还有一种是入坑pycharm有段时间的老手

【zabbix】zabbix客户端配置

1、部署zabbix客户端 #zabbix 5.0 版本采用 golang 语言开发的新版本客户端 agent2 。#zabbix 服务端 zabbix_server 默认使用 10051 端口,客户端 zabbix_agent2 默认使用 10050 端口。systemctl disable --now firewalldsetenforce 0hostnamectl set-host

局域网内vue2 配置本地IP地址访问项目

在日常开发中同事可能需要访问你的前端项目,可以通过配置实现通过ip访问 一.首先找到config文件夹目录下的 index.js文件             将此处的host的值修改为0.0.0.0(即 host: 0.0.0.0) // Various Dev Server settings//host: 'localhost' //将localhost进行替换成 0.0.0.0host: