【问题标题】:How can you export an IAR configuration? Specifically colors and fonts如何导出 IAR 配置?特别是颜色和字体
【发布时间】:2019-07-04 19:34:08
【问题描述】:

我想在 IAR IDE 的两个不同实例之间同步颜色和字体。我知道使用 IDE 本身无法导出,但是是否有可以复制的配置文件以达到相同的结果?

【问题讨论】:

  • 请显示您尝试过的一些代码 - 这将使其他人更容易提供解决方案。
  • 这是关于导出 IDE 首选项的,它与任何特定代码没有任何关系。我添加了我正在尝试导出的首选项的屏幕截图。
  • @Roy - 它可能会被视为 SO 中的题外话,因为即使它是关于开发软件,它也不是真正关于使用该软件进行开发。我建议您更改设置,然后查看安装文件夹以查看哪些文件或哪些文件得到了更新(按其时间戳)。您可能会发现这些文件是人类可读的格式,例如 XML 或 INI。

标签: ide embedded iar


【解决方案1】:

我找到了包含 XML 格式配置的文件:

C:\users\USER_NAME\AppData\Roaming\IAR Embedded Workbench\IarIde.xml

这是相关部分:

<TextEditor>
    <Font0>_ 0 400 0 16777215 0</Font0>
    <Font1>_ 0 700 0 16711935 0</Font1>
    <Font2>_ 0 400 0 32896 0</Font2>
    <Font3>_ 0 400 0 16776960 0</Font3>
    <Font4>_ 0 400 0 255 0</Font4>
    <Font5>_ 0 400 0 38400 0</Font5>
    <Font6>_ 0 400 0 0 0</Font6>
    <Font7>_ 0 400 0 0 0</Font7>
    <Font8>_ 0 400 0 0 0</Font8>
    <Font9>_ 0 400 255 65280 0</Font9>
    <Font10>_ 0 400 255 65280 0</Font10>
    <Font11>_ 0 400 255 16776960 0</Font11>
    <Font12>_ 0 400 255 16776960 0</Font12>
    <Font13>_ 0 700 0 0 1</Font13>
    <Font14>_ 0 400 255 10485760 0</Font14>
    <FontsEx>_ 0 0 0 0 0 0 0 1776411 0</FontsEx>
    <Fonts>_ -13 400 3 2 1 49 "Consolas" 15</Fonts>
    <IndentSize>_ 2</IndentSize>
    <TabSize>_ 2</TabSize>
    <AutoIndent>_ 1</AutoIndent>
    <BraceIndent>_ 0</BraceIndent>
    <BodyIndent>_ 2</BodyIndent>
    <LabelIndent>_ 0</LabelIndent>
    <RealTabs>_ 0</RealTabs>
    <SyntaxHLight>_ 1</SyntaxHLight>
    <ShowBookmarks>_ 1</ShowBookmarks>
    <ShowLineNumbers>_ 0</ShowLineNumbers>
    <ShowFoldsMargin>_ 1</ShowFoldsMargin>
    <ScanForChangedFiles>_ 1</ScanForChangedFiles>
    <VirtualSpace>_ 0</VirtualSpace>
    <CmdLineApp>_ ""</CmdLineApp>
    <CmdLineArgs>_ ""</CmdLineArgs>
    <DdeApp>_ ""</DdeApp>
    <DdeServiceName>_ ""</DdeServiceName>
    <FindFlags>_ 6</FindFlags>
    <LineBreakUsage>_ 0</LineBreakUsage>
    <TrimTrailingBlanks>_ 0</TrimTrailingBlanks>
    <UseUserKeyWordFile>_ 0</UseUserKeyWordFile>
    <UserKeyWordFile>_ ""</UserKeyWordFile>
    <UseCodeTemplates>_ 1</UseCodeTemplates>
    <CodeTemplateFile>_ "C:\Users\USER_NAME\AppData\Roaming\IAR Embedded Workbench\CodeTemplates.ENU.txt"</CodeTemplateFile>
    <ShowRightMargin>_ 1</ShowRightMargin>
    <UsePrinterMargin>_ 0</UsePrinterMargin>
    <RightMarginPos>_ 80</RightMarginPos>
    <AutoCompletion>_ 1</AutoCompletion>
    <AutoDetectEncoding>_ 1</AutoDetectEncoding>
    <DefaultEncoding>_ "System"</DefaultEncoding>
    <ShowLineBreaks>_ 0</ShowLineBreaks>
    <ShowSourceBrowserToolTips>_ 1</ShowSourceBrowserToolTips>
    <ShowVisibleWhitespace>_ 0</ShowVisibleWhitespace>
    <SyntaxHighlightRubyFiles>_ 1</SyntaxHighlightRubyFiles>
    <DdeCmdStr>_ 0</DdeCmdStr>
</TextEditor>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-07-05
    • 2012-05-21
    • 1970-01-01
    • 2014-11-20
    • 2013-07-11
    • 1970-01-01
    • 2014-04-25
    • 2011-10-14
    相关资源
    最近更新 更多