我想通过编程方式而不是从文本编辑器中更改“调试当前指令指针”的颜色-请参见下图。
我添加了在Eclipse Wiki上声明的扩展名。但是什么都没有改变。
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification
annotationType="org.eclipse.debug.ui.currentIP"
colorPreferenceKey="currentIPColor"
colorPreferenceValue="255,217,0"
highlightPreferenceKey="currentIPHighlight"
highlightPreferenceValue="true"
label="Debug Current Instruction Pointer"
overviewRulerPreferenceKey="currentIPOverviewRuler"
overviewRulerPreferenceValue="true"
presentationLayer="6"
textPreferenceKey="currentIPIndication"
textPreferenceValue="false"
verticalRulerPreferenceKey="currentIPVerticalRuler"
verticalRulerPreferenceValue="true"
textStylePreferenceKey="currentIPTextStyle"
textStylePreferenceValue="BOX"
includeOnPreferencePage="false">
</specification>