Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Eclipse4/CSS/StylingOfPreferences

< Eclipse4‎ | CSS

The styling of the preference values with CSS

The special IEclipsePreferences element with the proper preference node id has to be added to the CSS file in order to override the preference values. The names with the new values have to be listed in the preferences property and delimited with space or comma character.

IEclipsePreferences#org-eclipse-jdt-ui {
	preferences: 
		'semanticHighlighting.abstractClass.color=255,0,255'		
		'semanticHighlighting.abstractClass.enabled=true'		
		'java_bracket=255,0,0'
		'java_bracket_bold=true'
		'java_bracket_italic=true'
		'java_bracket_strikethrough=true'
		'java_bracket_underline='
}


SampleOfStylingTheJDTEditor.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.