add Eclipse config

This commit is contained in:
Gered 2013-05-26 00:58:37 -04:00
parent b4875a533e
commit d0dd659abf
14 changed files with 491 additions and 0 deletions

43
Eclipse/README.md Normal file
View file

@ -0,0 +1,43 @@
# Eclipse Pre-configured Theme & Syntax Coloring Settings
This is an initial Eclipse workspace configuration and plugin that apply a
dark style UI theme and editor syntax coloring.
A very slightly modified copy of the
[Dark Juno](http://rogerdudler.github.io/eclipse-ui-themes/) theme plugin by
Roger Dudler is used. Only a couple of colors have been changed.
Syntax color settings are present for Java, Clojure, Javascript, CSS, HTML
and XML.
Language plugins used:
* [Counterclockwise](https://code.google.com/p/counterclockwise/) (Clojure)
* Eclipse Web Developer Tools (HTML, CSS, XHTML)
* JavaScript Development Tools
## Usage
**This has only been tested with fresh Eclipse Juno installations. Attempts to
use with an existing installation are done at your own risk!**
Extract Eclipse, as per a normal installation of Eclipse. Before running it
for the first time, do the following:
* Copy the contents of the ```eclipse_root/dropins``` folder to the ```dropins``` folder located in the root of your Eclipse installation.
* Copy the ```your_workspace/.metadata``` folder to the folder you will be using as your workspace in this Eclipse installation.
* Run Eclipse, choosing the same workspace folder that we set up with the existing ```.metadata``` in the previous step.
If this was completed successfully, you should immediately notice Eclipse is
using the Dark Juno theme.
* Now install the plugins listed above (if needed). The existing snytax color settings we copied over should be picked up by them.
## Known Issues
* The Dark Juno theme is unfortunately not perfect due to limitations in the CSS styling support in Eclipse. Specifically, certain SWT controls like scrollbars and table/grid headers cannot be styled and will render as per the OS's default styling.
* There is a somewhat annoying 2px gray/white border line at the top of some tabs / editing windows. This ***can*** be styled, but there doesn't appear to be a unique CSS class/id for it, making it difficult to style without affecting something else in the process.
* The text on the Perspective switching toolbar is unfortunately too dark. I can't seem to style this any better ???
* Some text on the bottom status line (e.g. the column/line indicator) doesn't seem to stick to the color style applied to it. There might be some way to get around this. ??
* Minimized tabs/windows appear in an ugly off-color box.
* Probably a ton of stuff I don't use at all in Eclipse isn't styled consistently. Oh well.

View file

@ -0,0 +1,13 @@
Manifest-Version: 1.0
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.e4
.ui.css.swt.theme;bundle-version="0.9.2"
Bundle-Vendor: eclipsecolorthemes.org
Bundle-ActivationPolicy: lazy
Bundle-Version: 1.0.0.201207121019
Bundle-Name: Eclipse UI Themes
Bundle-Activator: com.github.eclipsecolortheme.themes.Activator
Bundle-ManifestVersion: 2
Bundle-SymbolicName: com.github.eclipsecolortheme.themes;singleton:=tr
ue
Bundle-RequiredExecutionEnvironment: JavaSE-1.6

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.e4.ui.css.swt.theme">
<theme
basestylesheeturi="themes/css/juno.css"
id="com.github.eclipsecolortheme.themes.darkjuno"
label="Dark Juno">
</theme>
</extension>
</plugin>

View file

@ -0,0 +1,103 @@
@import url("e4_basestyle.css");
.MTrimmedWindow {
background-color: #444444;
}
.MPartStack {
font-size: 12;
swt-simple: false;
swt-mru-visible: false;
swt-tab-renderer: url(bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering);
swt-unselected-tabs-color: #333333 #333333 #333333 100% 100%;
swt-outer-keyline-color: #333333;
swt-inner-keyline-color: #333333;
swt-mru-visible: false;
swt-shadow-visible: false;
swt-tab-outline: #444444;
}
.MPlaceholder {
background-color: #333;
color: #FFF;
}
.MTrimBar {
background-color: #333;
}
.MTrimBar CLabel {
color: #999999;
}
.MToolControl CLabel {
color: #999999;
}
.MTrimBar#org-eclipse-ui-main-toolbar {
background-color: #444444 #111111 100%;
}
.MPartStack.active {
swt-unselected-tabs-color: #333333 #444444 100% 100%;
swt-outer-keyline-color: #222222;
swt-inner-keyline-color: #222222;
swt-shadow-visible: false;
swt-tab-outline: #222222;
}
#PerspectiveSwitcher {
background-color: #444444 #111111 100%;
eclipse-perspective-keyline-color: #000;
color: #FFF;
}
#PerspectiveSwitcher ToolBar {
color: #fff;
}
#org-eclipse-ui-editorss {
swt-unselected-tabs-color: #444 #333 #111 100% 100%;
swt-outer-keyline-color: #444444;
swt-inner-keyline-color: #444444;
swt-tab-outline: #000;
color: #999;
swt-tab-height: 8px;
padding: 0px 5px 7px;
}
#org-eclipse-jdt-ui-PackageExplorer {
background-color: #333;
color: #999;
}
CTabFolder {
swt-tab-renderer: url(bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering);
swt-unselected-tabs-color: #444444;
swt-outer-keyline-color: #444444;
swt-inner-keyline-color: #444444;
swt-tab-outline: #444444;
selected-tab-fill: #222222;
swt-shadow-visible: false;
}
CTabFolder Tree {
background-color: #333;
color: #999;
}
CTabFolder Canvas {
background-color: #333;
color: #999;
}
CTabItem {
background-color: #333;
color: #DDD;
}
CTabItem:selected {
color: #FFF;
}
Label {
color: #999999;
}

View file

@ -0,0 +1,104 @@
ccw.preferences.editor_color.FUNCTION=255,197,109
ccw.preferences.editor_color.FUNCTION.bold=true
ccw.preferences.editor_color.FUNCTION.enabled=true
ccw.preferences.editor_color.FUNCTION.italic=false
ccw.preferences.editor_color.GLOBAL_VAR=218,72,50
ccw.preferences.editor_color.GLOBAL_VAR.bold=false
ccw.preferences.editor_color.GLOBAL_VAR.enabled=true
ccw.preferences.editor_color.GLOBAL_VAR.italic=false
ccw.preferences.editor_color.JAVA_CLASS=104,152,186
ccw.preferences.editor_color.JAVA_CLASS.bold=false
ccw.preferences.editor_color.JAVA_CLASS.enabled=true
ccw.preferences.editor_color.JAVA_INSTANCE_METHOD=255,198,109
ccw.preferences.editor_color.JAVA_INSTANCE_METHOD.bold=false
ccw.preferences.editor_color.JAVA_INSTANCE_METHOD.enabled=true
ccw.preferences.editor_color.JAVA_STATIC_METHOD=255,198,109
ccw.preferences.editor_color.JAVA_STATIC_METHOD.bold=false
ccw.preferences.editor_color.JAVA_STATIC_METHOD.enabled=true
ccw.preferences.editor_color.MACRO=204,120,50
ccw.preferences.editor_color.MACRO.bold=false
ccw.preferences.editor_color.MACRO.enabled=true
ccw.preferences.editor_color.MACRO.italic=false
ccw.preferences.editor_color.RAW_SYMBOL=230,225,220
ccw.preferences.editor_color.RAW_SYMBOL.bold=false
ccw.preferences.editor_color.RAW_SYMBOL.enabled=true
ccw.preferences.editor_color.RAW_SYMBOL.italic=false
ccw.preferences.editor_color.SPECIAL_FORM=204,120,50
ccw.preferences.editor_color.SPECIAL_FORM.bold=false
ccw.preferences.editor_color.SPECIAL_FORM.enabled=true
ccw.preferences.editor_color.SPECIAL_FORM.italic=false
ccw.preferences.editor_color.callableFUNCTION=255,197,109
ccw.preferences.editor_color.callableFUNCTION.bold=true
ccw.preferences.editor_color.callableFUNCTION.enabled=true
ccw.preferences.editor_color.callableFUNCTION.italic=false
ccw.preferences.editor_color.callableGLOBAL_VAR=218,72,50
ccw.preferences.editor_color.callableGLOBAL_VAR.enabled=true
ccw.preferences.editor_color.callableGLOBAL_VAR.italic=false
ccw.preferences.editor_color.callableJAVA_CLASS=255,198,109
ccw.preferences.editor_color.callableJAVA_CLASS.bold=true
ccw.preferences.editor_color.callableJAVA_CLASS.enabled=true
ccw.preferences.editor_color.callableJAVA_INSTANCE_METHOD=104,152,186
ccw.preferences.editor_color.callableJAVA_INSTANCE_METHOD.bold=true
ccw.preferences.editor_color.callableJAVA_INSTANCE_METHOD.enabled=true
ccw.preferences.editor_color.callableJAVA_STATIC_METHOD=104,152,186
ccw.preferences.editor_color.callableJAVA_STATIC_METHOD.bold=true
ccw.preferences.editor_color.callableJAVA_STATIC_METHOD.enabled=true
ccw.preferences.editor_color.callableMACRO=204,120,50
ccw.preferences.editor_color.callableMACRO.enabled=true
ccw.preferences.editor_color.callableMACRO.italic=false
ccw.preferences.editor_color.callableRAW_SYMBOL=255,199,147
ccw.preferences.editor_color.callableRAW_SYMBOL.bold=true
ccw.preferences.editor_color.callableRAW_SYMBOL.enabled=true
ccw.preferences.editor_color.callableRAW_SYMBOL.italic=false
ccw.preferences.editor_color.callableSPECIAL_FORM=204,120,50
ccw.preferences.editor_color.callableSPECIAL_FORM.enabled=true
ccw.preferences.editor_color.callableSPECIAL_FORM.italic=false
ccw.preferences.editor_color.char=164,193,91
ccw.preferences.editor_color.char.bold=false
ccw.preferences.editor_color.char.enabled=true
ccw.preferences.editor_color.char.italic=false
ccw.preferences.editor_color.comment=127,127,127
ccw.preferences.editor_color.comment.bold=false
ccw.preferences.editor_color.comment.enabled=true
ccw.preferences.editor_color.comment.italic=false
ccw.preferences.editor_color.float=104,151,187
ccw.preferences.editor_color.float.bold=false
ccw.preferences.editor_color.float.enabled=true
ccw.preferences.editor_color.float.italic=false
ccw.preferences.editor_color.int=104,151,187
ccw.preferences.editor_color.int.bold=false
ccw.preferences.editor_color.int.enabled=true
ccw.preferences.editor_color.int.italic=false
ccw.preferences.editor_color.keyword=190,214,255
ccw.preferences.editor_color.keyword.bold=false
ccw.preferences.editor_color.keyword.enabled=true
ccw.preferences.editor_color.keyword.italic=false
ccw.preferences.editor_color.literalSymbol=255,255,255
ccw.preferences.editor_color.literalSymbol.bold=false
ccw.preferences.editor_color.literalSymbol.enabled=true
ccw.preferences.editor_color.literalSymbol.italic=false
ccw.preferences.editor_color.meta=204,120,50
ccw.preferences.editor_color.meta.bold=false
ccw.preferences.editor_color.meta.enabled=true
ccw.preferences.editor_color.meta.italic=false
ccw.preferences.editor_color.other-literals=255,255,255
ccw.preferences.editor_color.other-literals.bold=false
ccw.preferences.editor_color.other-literals.enabled=true
ccw.preferences.editor_color.other-literals.italic=false
ccw.preferences.editor_color.regex=164,193,91
ccw.preferences.editor_color.regex.bold=false
ccw.preferences.editor_color.regex.enabled=true
ccw.preferences.editor_color.regex.italic=false
ccw.preferences.editor_color.string=164,193,91
ccw.preferences.editor_color.string.bold=false
ccw.preferences.editor_color.string.enabled=true
ccw.preferences.editor_color.string.italic=false
ccw.preferences.editor_color.symbol=255,255,255
ccw.preferences.editor_color.symbol.bold=false
ccw.preferences.editor_color.symbol.enabled=true
ccw.preferences.editor_color.symbol.italic=false
ccw.preferences.editor_color.whitespace=255,255,255
ccw.preferences.editor_color.whitespace.bold=false
ccw.preferences.editor_color.whitespace.enabled=true
ccw.preferences.editor_color.whitespace.italic=false
eclipse.preferences.version=1

View file

@ -0,0 +1,6 @@
Console.highWaterMark=88000
eclipse.preferences.version=1
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n
org.eclipse.debug.ui.consoleBackground=0,0,0
org.eclipse.debug.ui.outColor=255,255,255
preferredTargets=default\:default|

View file

@ -0,0 +1,2 @@
eclipse.preferences.version=1
themeid=com.github.eclipsecolortheme.themes.darkjuno

View file

@ -0,0 +1,89 @@
content_assist_number_of_computers=21
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
fontPropagated=true
java_bracket=255,255,255
java_comment_task_tag=98,151,85
java_default=230,225,220
java_doc_default=98,151,85
java_doc_keyword=142,180,133
java_doc_link=98,151,85
java_doc_tag=142,180,133
java_keyword=204,120,50
java_keyword_return=204,120,50
java_multi_line_comment=128,128,128
java_operator=255,255,255
java_single_line_comment=128,128,128
java_string=164,193,91
org.eclipse.jdt.ui.editor.tab.width=
org.eclipse.jdt.ui.formatterprofiles.version=12
org.eclipse.jdt.ui.javadoclocations.migrated=true
org.eclipse.jface.textfont=1|Bitstream Vera Sans Mono|13.0|0|COCOA|1|BitstreamVeraSansMono-Roman;
pf_coloring_argument=204,120,50
pf_coloring_assignment=230,225,220
pf_coloring_comment=128,128,128
pf_coloring_key=230,225,220
pf_coloring_value=164,193,91
proposalOrderMigrated=true
semanticHighlighting.abstractMethodInvocation.bold=true
semanticHighlighting.abstractMethodInvocation.color=190,214,255
semanticHighlighting.abstractMethodInvocation.enabled=true
semanticHighlighting.annotation.color=204,120,50
semanticHighlighting.annotation.enabled=true
semanticHighlighting.class.bold=false
semanticHighlighting.class.color=255,198,109
semanticHighlighting.class.enabled=true
semanticHighlighting.class.strikethrough=false
semanticHighlighting.class.underline=false
semanticHighlighting.deprecatedMember.color=210,82,82
semanticHighlighting.deprecatedMember.enabled=true
semanticHighlighting.deprecatedMember.strikethrough=true
semanticHighlighting.deprecatedMember.underline=false
semanticHighlighting.enum.color=127,179,71
semanticHighlighting.enum.enabled=true
semanticHighlighting.field.color=121,171,255
semanticHighlighting.field.enabled=true
semanticHighlighting.inheritedMethodInvocation.color=190,214,255
semanticHighlighting.inheritedMethodInvocation.enabled=true
semanticHighlighting.interface.color=104,152,186
semanticHighlighting.interface.enabled=true
semanticHighlighting.localVariable.color=255,255,255
semanticHighlighting.localVariable.enabled=true
semanticHighlighting.localVariableDeclaration.color=255,255,255
semanticHighlighting.localVariableDeclaration.enabled=true
semanticHighlighting.method.bold=true
semanticHighlighting.method.color=255,255,255
semanticHighlighting.method.enabled=true
semanticHighlighting.methodDeclarationName.color=255,255,255
semanticHighlighting.methodDeclarationName.enabled=true
semanticHighlighting.number.color=104,151,187
semanticHighlighting.number.enabled=true
semanticHighlighting.parameterVariable.color=190,214,255
semanticHighlighting.parameterVariable.enabled=true
semanticHighlighting.staticField.color=255,255,255
semanticHighlighting.staticField.enabled=true
semanticHighlighting.staticFinalField.color=255,255,255
semanticHighlighting.staticFinalField.enabled=true
semanticHighlighting.staticMethodInvocation.bold=true
semanticHighlighting.staticMethodInvocation.color=190,214,255
semanticHighlighting.staticMethodInvocation.enabled=true
semanticHighlighting.typeArgument.color=255,198,109
semanticHighlighting.typeArgument.enabled=true
semanticHighlighting.typeParameter.color=191,164,164
semanticHighlighting.typeParameter.enabled=true
sourceHoverBackgroundColor=43,43,43
spelling_ignore_ampersand_in_properties=true
spelling_ignore_digits=true
spelling_ignore_java_strings=true
spelling_ignore_mixed=true
spelling_ignore_non_letters=true
spelling_ignore_sentence=true
spelling_ignore_single_letters=true
spelling_ignore_upper=true
spelling_ignore_urls=true
spelling_locale_initialized=true
spelling_user_dictionary_encoding=
tabWidthPropagated=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true

View file

@ -0,0 +1,29 @@
AbstractTextEditor.Color.Background=43,43,43
AbstractTextEditor.Color.Background.SystemDefault=false
AbstractTextEditor.Color.FindScope=17,17,17
AbstractTextEditor.Color.Foreground=230,225,220
AbstractTextEditor.Color.Foreground.SystemDefault=false
AbstractTextEditor.Color.SelectionBackground=90,100,126
AbstractTextEditor.Color.SelectionBackground.SystemDefault=false
AbstractTextEditor.Color.SelectionForeground=230,225,220
AbstractTextEditor.Color.SelectionForeground.SystemDefault=false
PHPReadOccurrenceIndicationColor=102,102,102
PHPWriteOccurrenceIndicationColor=120,12,120
asOccurencesIndicationColor=102,102,102
currentIPColor=66,68,69
currentLineColor=66,68,69
deletionIndicationColor=210,82,82
eclipse.preferences.version=1
filteredSearchResultIndicationColor=0,0,0
javaScriptOccurrenceIndicationColor=102,102,102
lineNumberColor=106,105,106
lineNumberRuler=true
matchingTagIndicationColor=102,102,102
occurrenceIndicationColor=102,102,102
overviewRuler_migration=migrated_3.1
printMargin=true
printMarginColor=59,59,62
pydevOccurrenceIndicationColor=102,102,102
searchResultIndicationColor=164,164,89
secondaryIPColor=66,68,69
writeOccurrenceIndicationColor=120,12,120

View file

@ -0,0 +1,22 @@
ATMARK_RULE=\#da4832 | null | false | false | false | false
ATTRIBUTE_DELIM=\#FFFFFF | null | null | null | null | null
ATTRIBUTE_NAME=\#fefffe | null | false | false | false | false
ATTRIBUTE_OPERATOR=\#FFFFFF | null | null | null | null | null
ATTRIBUTE_VALUE=\#a4c15b | null | false | false | false | false
CLASS=\#ffc56d | null | false | false | false | false
COLON=\#E6E1DC | null | null | null | null | null
COMBINATOR=\#FFFFFF | null | null | null | null | null
COMMENT=\#808080 | null | null | false | null | null
CURLY_BRACE=\#FFFFFF | null | null | null | null | null
ID=\#ffc56d | null | false | false | false | false
MEDIA=\#CC7832 | null | false | null | null | null
NORMAL=\#E6E1DC | null | null | null | null | null
PROPERTY_NAME=\#bed6ff | null | false | false | false | false
PROPERTY_VALUE=\#fefffe | null | false | false | false | false
PSEUDO=\#FFFFFF | null | null | null | null | null
SELECTOR=\#ffc56d | null | false | false | false | false
SEMI_COLON=\#E6E1DC | null | null | null | null | null
STRING=\#A4C15B | null | null | null | null | null
UNIVERSAL=\#FFFFFF | null | null | null | null | null
URI=\#2b91ae | null | false | false | false | false
eclipse.preferences.version=1

View file

@ -0,0 +1,15 @@
commentBorder=\#808080 | null | null | false | null | null
commentText=\#808080 | null | null | false | null | null
declBoder=\#FFFFFF | null | null | null | null | null
doctypeExternalId=\#bed6ff | null | false | false | false | false
doctypeExternalPubref=\#a4c15b | null | false | false | false | false
doctypeExtrenalSysref=\#a4c15b | null | false | false | false | false
doctypeName=\#bed6ff | null | false | false | false | false
eclipse.preferences.version=1
entityReference=\#CC7832 | null | false | null | null | null
tagAttributeEquals=\#E6E1DC | null | null | null | null | null
tagAttributeName=\#bed6ff | null | false | false | false | false
tagAttributeValue=\#A4C15B | null | null | null | null | null
tagBorder=\#FFFFFF | null | null | null | null | null
tagName=\#ffc56d | null | false | false | false | false
xmlContent=\#E6E1DC | null | null | null | null | null

View file

@ -0,0 +1,33 @@
eclipse.preferences.version=1
fontPropagated=true
java_bracket=255,255,255
java_comment_task_tag=98,151,85
java_default=230,225,220
java_doc_default=98,151,85
java_doc_keyword=142,180,133
java_doc_link=98,151,85
java_doc_tag=142,180,133
java_keyword=204,120,50
java_keyword_return=204,120,50
java_multi_line_comment=128,128,128
java_operator=255,255,255
java_single_line_comment=128,128,128
java_string=164,193,91
org.eclipse.jface.textfont=1|Bitstream Vera Sans Mono|13.0|0|COCOA|1|BitstreamVeraSansMono-Roman;
org.eclipse.wst.jsdt.ui.editor.tab.width=
org.eclipse.wst.jsdt.ui.formatterprofiles.version=11
org.eclipse.wst.jsdt.ui.javadoclocations.migrated=true
proposalOrderMigrated=true
semanticHighlighting.deprecatedMember.color=254,255,254
semanticHighlighting.localVariable.color=255,255,255
semanticHighlighting.localVariable.enabled=true
semanticHighlighting.localVariableDeclaration.color=255,255,255
semanticHighlighting.localVariableDeclaration.enabled=true
semanticHighlighting.method.color=255,197,109
semanticHighlighting.method.enabled=true
semanticHighlighting.methodDeclarationName.color=255,255,255
semanticHighlighting.methodDeclarationName.enabled=true
tabWidthPropagated=true
tagName=255,255,255
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true

View file

@ -0,0 +1,19 @@
cdataBorder=\#FFFFFF | null | null | null | null | null
cdataText=\#da4832 | null | false | false | false | false
commentBorder=\#808080 | null | null | false | null | null
commentText=\#808080 | null | null | false | null | null
declBorder=\#FFFFFF | null | null | null | null | null
doctypeExternalId=\#bed6ff | null | false | false | false | false
doctypeExternalPubref=\#a4c15b | null | false | false | false | false
doctypeExtrenalSysref=\#a4c15b | null | false | false | false | false
doctypeName=\#bed6ff | null | false | false | false | false
eclipse.preferences.version=1
entityReference=\#CC7832 | null | false | null | null | null
piBorder=\#FFFFFF | null | null | null | null | null
piContent=\#E6E1DC | null | null | null | null | null
tagAttributeEquals=\#E6E1DC | null | null | null | null | null
tagAttributeName=\#bed6ff | null | false | false | false | false
tagAttributeValue=\#A4C15B | null | null | null | null | null
tagBorder=\#FFFFFF | null | null | null | null | null
tagName=\#ffc56d | null | false | false | false | false
xmlContent=\#E6E1DC | null | null | null | null | null