Ide 如何导出IAR配置?特别是颜色和字体

Ide 如何导出IAR配置?特别是颜色和字体,ide,embedded,iar,Ide,Embedded,Iar,我想在IAR的IDE的两个不同实例之间同步颜色和字体。我知道没有办法使用IDE本身导出,但是是否有可以复制的配置文件来实现相同的结果? 我找到了包含XML格式配置的文件: C:\users\USER\u NAME\AppData\Roaming\IAR Embedded Workbench\IarIde.xml 这是相关章节: <TextEditor> <Font0>_ 0 400 0 16777215 0</Font0> <Font1&

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

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

C:\users\USER\u 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>

_ 0 400 0 16777215 0
_ 0 700 0 16711935 0
_ 0 400 0 32896 0
_ 0 400 0 16776960 0
_ 0 400 0 255 0
_ 0 400 0 38400 0
_ 0 400 0 0 0
_ 0 400 0 0 0
_ 0 400 0 0 0
_ 0 400 255 65280 0
_ 0 400 255 65280 0
_ 0 400 255 16776960 0
_ 0 400 255 16776960 0
_ 0 700 0 0 1
_ 0 400 255 10485760 0
_ 0 0 0 0 0 0 0 1776411 0
_-13 400 3 2 1 49“控制台”15
_ 2
_ 2
_ 1
_ 0
_ 2
_ 0
_ 0
_ 1
_ 1
_ 0
_ 1
_ 1
_ 0
_ ""
_ ""
_ ""
_ ""
_ 6
_ 0
_ 0
_ 0
_ ""
_ 1
_“C:\Users\USER\u NAME\AppData\Roaming\IAR Embedded Workbench\CodeTemplates.chs.txt”
_ 1
_ 0
_ 80
_ 1
_ 1
_“系统”
_ 0
_ 1
_ 0
_ 1
_ 0

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

C:\users\USER\u 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>

_ 0 400 0 16777215 0
_ 0 700 0 16711935 0
_ 0 400 0 32896 0
_ 0 400 0 16776960 0
_ 0 400 0 255 0
_ 0 400 0 38400 0
_ 0 400 0 0 0
_ 0 400 0 0 0
_ 0 400 0 0 0
_ 0 400 255 65280 0
_ 0 400 255 65280 0
_ 0 400 255 16776960 0
_ 0 400 255 16776960 0
_ 0 700 0 0 1
_ 0 400 255 10485760 0
_ 0 0 0 0 0 0 0 1776411 0
_-13 400 3 2 1 49“控制台”15
_ 2
_ 2
_ 1
_ 0
_ 2
_ 0
_ 0
_ 1
_ 1
_ 0
_ 1
_ 1
_ 0
_ ""
_ ""
_ ""
_ ""
_ 6
_ 0
_ 0
_ 0
_ ""
_ 1
_“C:\Users\USER\u NAME\AppData\Roaming\IAR Embedded Workbench\CodeTemplates.chs.txt”
_ 1
_ 0
_ 80
_ 1
_ 1
_“系统”
_ 0
_ 1
_ 0
_ 1
_ 0

请显示您尝试的一些代码-这将使其他人更容易提供解决方案。这是关于导出IDE首选项的,与任何特定代码无关。我添加了一个我试图导出的首选项的屏幕截图。@Roy-这可能会被认为是离题的,因为即使它是关于开发软件的,但实际上并不是关于使用该软件进行开发。我建议您更改设置,然后查看安装文件夹,查看更新了哪些文件(按时间戳)。您可能会发现这些文件是人类可读的格式,如XML或INI。请显示您尝试的一些代码-这将使其他人更容易提供解决方案。这是关于导出IDE首选项的,与任何特定代码无关。我添加了一个我试图导出的首选项的屏幕截图。@Roy-这可能会被认为是离题的,因为即使它是关于开发软件的,但实际上并不是关于使用该软件进行开发。我建议您更改设置,然后查看安装文件夹,查看更新了哪些文件(按时间戳)。您可能会发现这些文件的格式是人类可读的,如XML或INI。