我正在尝试制作精细的EPF文件,我发现它们需要看似随机的设置(除了我真正想要的那些)以避免空列表消息。
Empty list.
Note: Not all preferences support individual import.
以下是我制作的EPF示例。
# Eclipse Preferences: C/C++ console colors
# kaltendorf
# Sorry but Eclipse seems to need these to import...
file_export_version=3.0
/instance/org.eclipse.cdt.ui/c_operators=230,230,250
# These are the real preferences of interest
/instance/org.eclipse.cdt.ui/buildConsoleErrorStreamColor=225,30,70
/instance/org.eclipse.cdt.ui/buildConsoleBackgroundColor=53,53,53
/instance/org.eclipse.cdt.ui/buildConsoleOutputStreamColor=235,235,235
/instance/org.eclipse.cdt.ui/buildConsoleInfoStreamColor=140,175,210
/instance/org.eclipse.cdt.ui/buildConsoleProblemWarningBackgroundColor=94,66,2
/instance/org.eclipse.cdt.ui/buildConsoleProblemHighlightedColor=240,142,162
/instance/org.eclipse.cdt.ui/buildConsoleProblemInfoBackgroundColor=7,32,88
/instance/org.eclipse.cdt.ui/buildConsoleProblemBackgroundColor=92,23,3
和另一个。
# Eclipse Preferences: Code formatting (tabs, 120char column indicator)
# kaltendorf
# Sorry but Eclipse seems to need these to import...
file_export_version=3.0
/instance/org.eclipse.cdt.ui/content_assist_proposals_background=30,30,30
# These are the real preferences of interest
/instance/org.eclipse.ui.editors/spacesForTabs=true
/instance/org.eclipse.ui.editors/printMarginColumn=120
file_export_version
对我有用,我可以理解某些设置可能只在集合中有意义,但对content_assist_proposals_background
和c_operators
来说似乎不合理。有什么可以做的吗?我需要花一些时间来确定它想要的设置,它还会混淆其他细粒度的文件。