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


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

    1. "1.0" encoding="UTF-8"?>
    2. <style-scheme version="1.0" name="One Dark">
    3. <style name="Text" foreground="#abb2bf" background="#282c34"/>
    4. <style name="Link" underlineStyle="SingleUnderline"/>
    5. <style name="Selection" background="#3e4451"/>
    6. <style name="LineNumber" foreground="#4b5363"/>
    7. <style name="SearchResult" background="#324365"/>
    8. <style name="SearchScope" background="#3e4451"/>
    9. <style name="Parentheses" underlineColor="#61afef" underlineStyle="SingleUnderline"/>
    10. <style name="ParenthesesMismatch" foreground="#000000" background="#c678dd"/>
    11. <style name="AutoComplete" background="#3e4451"/>
    12. <style name="CurrentLine" background="#3a3f4b"/>
    13. <style name="CurrentLineNumber" foreground="#777c87"/>
    14. <style name="Occurrences" background="#324365"/>
    15. <style name="Occurrences.Unused" underlineColor="#d19a66" underlineStyle="DashUnderline"/>
    16. <style name="Occurrences.Rename" background="#e06c75"/>
    17. <style name="Number" foreground="#d19a66"/>
    18. <style name="String" foreground="#98c379"/>
    19. <style name="Type" foreground="#61afef"/>
    20. <style name="Local"/>
    21. <style name="Global"/>
    22. <style name="Field" foreground="#e06c75"/>
    23. <style name="Static" foreground="#61afef" italic="true"/>
    24. <style name="VirtualMethod" foreground="#61afef" italic="true"/>
    25. <style name="Function" foreground="#61afef"/>
    26. <style name="Keyword" foreground="#c678dd"/>
    27. <style name="PrimitiveType" foreground="#c678dd"/>
    28. <style name="Operator" foreground="#c678dd"/>
    29. <style name="Overloaded Operator" foreground="#c678dd"/>
    30. <style name="Punctuation"/>
    31. <style name="Preprocessor" foreground="#c678dd"/>
    32. <style name="Label" foreground="#e06c75" bold="true"/>
    33. <style name="Comment" foreground="#6A9955" italic="true"/>
    34. <style name="Doxygen.Comment" foreground="#5c6370" italic="true"/>
    35. <style name="Doxygen.Tag" foreground="#61afef"/>
    36. <style name="VisualWhitespace" foreground="#3c4049"/>
    37. <style name="QmlLocalId" foreground="#61afef"/>
    38. <style name="QmlExternalId"/>
    39. <style name="QmlTypeId" foreground="#61afef"/>
    40. <style name="QmlRootObjectProperty" foreground="#61afef"/>
    41. <style name="QmlScopeObjectProperty" foreground="#61afef"/>
    42. <style name="QmlExternalObjectProperty"/>
    43. <style name="JsScopeVar"/>
    44. <style name="JsImportVar" foreground="#d19a66"/>
    45. <style name="JsGlobalVar" foreground="#d19a66"/>
    46. <style name="QmlStateName" foreground="#61afef"/>
    47. <style name="Binding" foreground="#c678dd"/>
    48. <style name="DisabledCode" foreground="#5c6370"/>
    49. <style name="AddedLine" foreground="#98c379"/>
    50. <style name="RemovedLine" foreground="#e06c75"/>
    51. <style name="DiffFile" foreground="#61afef"/>
    52. <style name="DiffLocation" foreground="#d19a66"/>
    53. <style name="DiffFileLine" foreground="#000000" background="#e5c07b"/>
    54. <style name="DiffContextLine" foreground="#000000" background="#56b6c2"/>
    55. <style name="DiffSourceLine" foreground="#000000" background="#be5046"/>
    56. <style name="DiffSourceChar" foreground="#000000" background="#e06c75"/>
    57. <style name="DiffDestLine" foreground="#000000" background="#789353"/>
    58. <style name="DiffDestChar" foreground="#000000" background="#98c379"/>
    59. <style name="LogChangeLine" foreground="#e06c75"/>
    60. <style name="LogAuthorName" foreground="#61afef"/>
    61. <style name="LogCommitDate" foreground="#98c379"/>
    62. <style name="LogCommitHash" foreground="#e06c75"/>
    63. <style name="LogCommitSubject"/>
    64. <style name="LogDecoration" foreground="#c678dd"/>
    65. <style name="Warning" underlineColor="#d19a66" underlineStyle="SingleUnderline"/>
    66. <style name="WarningContext" underlineColor="#d19a66" underlineStyle="DotLine"/>
    67. <style name="Error" underlineColor="#e06c75" underlineStyle="SingleUnderline"/>
    68. <style name="ErrorContext" underlineColor="#e06c75" underlineStyle="DotLine"/>
    69. <style name="Declaration"/>
    70. <style name="FunctionDefinition"/>
    71. <style name="OutputArgument" italic="true"/>
    72. <style name="LastStyleSentinel"/>
    73. style-scheme>

    配置:

  • 相关阅读:
    J2EE基础-通用分页(2)
    在PowerBI中提取IFC文件中的数据
    Windows下Python环境配置、pip换源
    鲁迅为什么打周树人?今天的昨天是明天的什么?chatgpt4.0告诉你
    Redis分片集群实验
    (九)mmdetection源码解读:训练过程中训练数据的调用DataLoader
    霍尔电流传感器如何进行可靠性测试?主要应用在哪些领域?
    运营-20.产品社区化和内容化
    社会媒体营销提问常用的ChatGPT通用提示词模板
    Hafnium之内存共享
  • 原文地址:https://blog.csdn.net/loveliyuyuan/article/details/139810853