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

阿里云网站怎么做wordpress主题转换

阿里云网站怎么做,wordpress主题转换,wordpress相关文插件,做建筑材料哪个网站好一点文章目录 0 前言1 工具准备1.1 插件准备1.2 添加.clang-format1.3 添加配置 2 快速上手 0 前言 各路大神都说clangd好,我也来试试。这篇主要讲格式化部分。 1 工具准备 1.1 插件准备 照图安装。 1.2 添加.clang-format 右键添加文件,跟添加个.h或者.c…

文章目录

  • 0 前言
  • 1 工具准备
    • 1.1 插件准备
    • 1.2 添加.clang-format
    • 1.3 添加配置
  • 2 快速上手


0 前言

各路大神都说clangd好,我也来试试。这篇主要讲格式化部分。


1 工具准备

1.1 插件准备

在这里插入图片描述
照图安装。

1.2 添加.clang-format

在这里插入图片描述
右键添加文件,跟添加个.h或者.c文件一样。

1.3 添加配置

点进.clang-format,添加如下内容:
英语好的看字面意思,不好的让AI给翻译翻译,动手试试修改效果。不一一赘述。

---
Language:        Cpp
# BasedOnStyle:  LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:Enabled:         falseAcrossEmptyLines: falseAcrossComments:  falseAlignCompound:   falseAlignFunctionPointers: falsePadOperators:    true
AlignConsecutiveBitFields:Enabled:         falseAcrossEmptyLines: falseAcrossComments:  falseAlignCompound:   falseAlignFunctionPointers: falsePadOperators:    false
AlignConsecutiveDeclarations:Enabled:         falseAcrossEmptyLines: falseAcrossComments:  falseAlignCompound:   falseAlignFunctionPointers: falsePadOperators:    false
# 宏定义自动对齐
AlignConsecutiveMacros:Enabled:         trueAcrossEmptyLines: falseAcrossComments:  falseAlignCompound:   falseAlignFunctionPointers: falsePadOperators:    false
AlignConsecutiveShortCaseStatements:Enabled:         falseAcrossEmptyLines: falseAcrossComments:  falseAlignCaseColons: false
AlignEscapedNewlines: Right
AlignOperands:   Align
AlignTrailingComments:Kind:            AlwaysOverEmptyLines:  0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros:- __capability
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BraceWrapping:AfterCaseLabel:  falseAfterClass:      falseAfterControlStatement: NeverAfterEnum:       falseAfterExternBlock: falseAfterFunction:   trueAfterNamespace:  falseAfterObjCDeclaration: falseAfterStruct:     trueAfterUnion:      trueBeforeCatch:     falseBeforeElse:      falseBeforeLambdaBody: falseBeforeWhile:     falseIndentBraces:    falseSplitEmptyFunction: trueSplitEmptyRecord: trueSplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakArrays:     true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Allman
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit:     80
CommentPragmas:  '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat:   false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:- foreach- Q_FOREACH- BOOST_FOREACH
IfMacros:- KJ_IF_MAYBE
IncludeBlocks:   Preserve
IncludeCategories:- Regex:           '^"(llvm|llvm-c|clang|clang-c)/'Priority:        2SortPriority:    0CaseSensitive:   false- Regex:           '^(<|"(gtest|gmock|isl|json)/)'Priority:        3SortPriority:    0CaseSensitive:   false- Regex:           '.*'Priority:        1SortPriority:    0CaseSensitive:   false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth:     4
IndentWrappedFunctionNames: false
InsertBraces:    false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:Binary:          0BinaryMinDigits: 0Decimal:         0DecimalMinDigits: 0Hex:             0HexMinDigits:    0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
KeepEmptyLinesAtEOF: false
LambdaBodyIndentation: Signature
LineEnding:      DeriveLF
MacroBlockBegin: ''
MacroBlockEnd:   ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PPIndentWidth:   -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments:  false
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes:    CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:AfterControlStatements: trueAfterForeachMacros: trueAfterFunctionDefinitionName: falseAfterFunctionDeclarationName: falseAfterIfMacros:   trueAfterOverloadedOperator: falseAfterPlacementOperator: trueAfterRequiresInClause: falseAfterRequiresInExpression: falseBeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 1
SpacesInAngles:  Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:Minimum:         1Maximum:         -1
SpacesInParens:  Never
SpacesInParensOptions:InCStyleCasts:   falseInConditionalStatements: falseInEmptyParentheses: falseOther:           false
SpacesInSquareBrackets: false
Standard:        Latest
StatementAttributeLikeMacros:- Q_EMIT
StatementMacros:- Q_UNUSED- QT_REQUIRE_VERSION
TabWidth:        8
UseTab:          Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:- BOOST_PP_STRINGIZE- CF_SWIFT_NAME- NS_SWIFT_NAME- PP_STRINGIZE- STRINGIZE
...

2 快速上手

快捷键 alt + shift + F。
Done!


文章转载自:

http://Xisp07I4.qkpzq.cn
http://gCcTqPDD.qkpzq.cn
http://xo7Zn1Oz.qkpzq.cn
http://Ot2xEvDI.qkpzq.cn
http://6TNd61Up.qkpzq.cn
http://U0co4HcB.qkpzq.cn
http://akYXQZVX.qkpzq.cn
http://RGR781hy.qkpzq.cn
http://msTlV9w4.qkpzq.cn
http://3JqlVClj.qkpzq.cn
http://Qyzv9UaS.qkpzq.cn
http://njOxoVzj.qkpzq.cn
http://nLaTLxTi.qkpzq.cn
http://2rb89nZ4.qkpzq.cn
http://9MQaZWnz.qkpzq.cn
http://xV2vQYR9.qkpzq.cn
http://jp9Xagxg.qkpzq.cn
http://PObavDVl.qkpzq.cn
http://3ApY0m8Q.qkpzq.cn
http://oLq4nVRg.qkpzq.cn
http://4gaidcSn.qkpzq.cn
http://0CPzAwih.qkpzq.cn
http://1TuJh2IL.qkpzq.cn
http://cfUznpWH.qkpzq.cn
http://wNhC6va7.qkpzq.cn
http://9a9nejBM.qkpzq.cn
http://hMpPUHqr.qkpzq.cn
http://z8U8107M.qkpzq.cn
http://Q3a6ayf2.qkpzq.cn
http://nVyEdyLr.qkpzq.cn
http://www.dtcms.com/wzjs/620624.html

相关文章:

  • 黑色网站配色新泰网站制作
  • 网站入口你明白我的意思吧高考志愿网站开发
  • 小型网站建设方案做订阅号要建立网站吗
  • 东莞网站建设优化东莞枣庄网站建设枣庄
  • 十大免费ppt课件网站关于网站建设的奖项名称
  • 网站建设的扁平化设计网站建设维护教程
  • 微信网站怎么做网站搜索引擎优化公司
  • 自助个人免费网站汉中网站建设开发
  • 做推广网站费用天津建设网站的公司哪家好
  • 直播间网站开发空间平面的网页设计素材
  • 手机网站推广方案企业网站 数据库设计
  • 网站验收时项目建设总结报告商丘哪里做网站
  • 徐州网站定制公司投资1元赚1000
  • 泰安建网站网站首页psd格式怎么做
  • 国外服装定制网站开发制作一个网站
  • 网站商城怎么做网店怎么开视频教程
  • 网站访问流量怎么赚钱做五金的网站
  • 文昌网站 做炸饺子进行网站建设视频教程
  • 企业建立网站需要网站开发 定义
  • 企业网站怎么建设方案网站建设的人员组织
  • 音乐网站如何建立做好公众号 网站建设
  • 网页与网站的区别与联系顺德建设网站
  • 51网站空间还有吗购物商城网站建设方案
  • 如何做网站 新手 个人 教程wordpress还原数据库备份
  • c 网站开发环境灯饰模板网站
  • 遂宁模板建站公司杭州seo俱乐部
  • 北京公司网站开发音乐网站怎么做社交的
  • 网站风格包括什么怎么做pc端移动网站
  • 电子商务网站建设与维护李建忠下载网页制作排行榜
  • 广州奕联网站开发盐城网站建设与网页制作