Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adapt to JDT restrictedKeywords replacement in Eclipse 2020-12
  • Loading branch information
PyvesB committed Dec 19, 2020
1 parent 9e57f4d commit d84d3e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions planet-themes-plugin/css/neptune.css
Expand Up @@ -97,6 +97,7 @@ IEclipsePreferences#org-eclipse-jdt-ui:io-github-pyvesb-eclipse_planet_themes-ne
'semanticHighlighting.field.color=82,117,237'
'semanticHighlighting.number.color=207,9,51'
'semanticHighlighting.recordKeyword.color=105,159,213'
'semanticHighlighting.restrictedKeywords.color=105,159,213'
'semanticHighlighting.staticField.color=82,117,237'
'semanticHighlighting.staticFinalField.color=82,117,237'
'semanticHighlighting.varKeyword.color=105,159,213'
Expand Down
2 changes: 2 additions & 0 deletions planet-themes-plugin/css/planets.css
Expand Up @@ -140,12 +140,14 @@ IEclipsePreferences#org-eclipse-ui-editors:io-github-pyvesb-eclipse_planet_theme
'searchResultTextStyle=DASHED_BOX';
}

/* recordKeyword, varKeyword, yieldKeyword are for Eclipse 2020-06 & 2020-09, but were replaced by restrictedKeywords in 2020-12. */
IEclipsePreferences#org-eclipse-jdt-ui:io-github-pyvesb-eclipse_planet_themes-planets {
preferences:
'java_keyword_bold=true'
'java_keyword_return_bold=true'
'semanticHighlighting.methodDeclarationName.enabled=true'
'semanticHighlighting.methodDeclarationName.bold=true'
'semanticHighlighting.restrictedKeywords.bold=true'
'semanticHighlighting.recordKeyword.bold=true'
'semanticHighlighting.varKeyword.bold=true'
'semanticHighlighting.yieldKeyword.bold=true';
Expand Down
1 change: 1 addition & 0 deletions planet-themes-plugin/css/pluto.css
Expand Up @@ -97,6 +97,7 @@ IEclipsePreferences#org-eclipse-jdt-ui:io-github-pyvesb-eclipse_planet_themes-pl
'semanticHighlighting.field.color=219,162,38'
'semanticHighlighting.number.color=189,51,30'
'semanticHighlighting.recordKeyword.color=116,84,225'
'semanticHighlighting.restrictedKeywords.color=116,84,225'
'semanticHighlighting.staticField.color=219,162,38'
'semanticHighlighting.staticFinalField.color=219,162,38'
'semanticHighlighting.varKeyword.color=116,84,225'
Expand Down

0 comments on commit d84d3e4

Please sign in to comment.