Coder Social home page Coder Social logo

smile921 / eclipse-color-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eclipse-color-theme/eclipse-color-theme

0.0 3.0 0.0 791 KB

Color themes for Eclipse

Home Page: http://www.eclipsecolorthemes.org/plugin

License: Eclipse Public License 1.0

eclipse-color-theme's Introduction

Eclipse Color Theme

Color themes for Eclipse.

Eclipse Color Theme makes it possible to import and switch color themes conveniently and without side effects.

You can install the plugin from the update site. After installing, go to Window->Preferences->General->Appearance->Color Theme to change the color theme.

Please note:

  • When updating the plugin via Eclipse, go to the preferences page and press OK once, otherwise you won't see any changes. We're planning to fix this.
  • When updating from an earlier version than 0.6, please uninstall the plugin and the update site, add the site listed above and install it again from there. Otherwise you won't see any updates.

Rationale

While Eclipse allows you to change the syntax coloring in great detail, there is no support for managing multiple color themes. It is possible to achieve that by importing and exporting preferences files, but this is inconvenient and likely to mess up your preferences. Furthermore, color themes have to be created for every single editor, a theme for the Java editor does not change the XML, JavaScript or any other editors. This plugin solves these issues by mapping a generic color theme format to specific preferences entries for each supported editor.

Editors and themes

Eclipse Color Theme currently supports the following editors:

  • Text
  • Java
  • Java properties
  • XML
  • HTML
  • CSS
  • JavaScript
  • C++
  • PHP
  • Ant
  • SQL
  • Python
  • JSP
  • Perl
  • Groovy
  • FDT
  • ActionScript/MXML (Adobe Flash Builder)
  • Ruby
  • Scala
  • FreeMarker (JBoss Tools)
  • PDE
  • ColdFusion (CFEclipse)
  • TCL
  • BibTex/LaTeX (TeXlipse)
  • R (StatET)
  • Erlang (ErlIDE)
  • haXe (eclihx)
  • Clojure (Counterclockwise)
  • Go (GoClipse)
  • Twig
  • Json (Json Eclipse Plugin)
  • Yaml (Yedit)
  • Xtend
  • Markdown
  • Spket IDE (JavaScript and XML)
  • XSL
  • DTD
  • Haskell (EclipseFP)

Available themes:

You can download additional themes or create your own on eclipsecolorthemes.org.

Adding a theme

To create a new theme, go to eclipsecolorthemes.org, create it, download it in *.xml format and import it from the Color Theme preference page.

Adding a mapping

If you would like to add an editor mapping, proceed as follows:

  1. Go to the syntax coloring preferences page of the editor, e.g. C/C++->Editor->Syntax Coloring.

  2. Look at the colour theme keys of one theme (See ColorThemeKeys for all available keys) and set up the syntax colouring using the colours defined there.

  3. Open the editor's preferences file, e.g. workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs and create a new XML file named after the plugin ID in the mapper directory which maps the colour theme's keys to those of the editor.

  4. Open plugin.xml and add the new mapping file to the extension point com.github.eclipsecolortheme.theme.

Building

Generating an update site

If you just want to generate an update site from the sources, you can do so using Maven:

mvn clean verify

This will create an update site in com.github.eclipsecolortheme.updatesite/target/repository.

Development

All you need is Eclipse PDE. Once you have that, you can import the projects in this repository into an Eclipse workspace.

License

Copyright (C) 2011 Felix H. Dahlke and Roger Dudler

This is open source software, licensed under the Eclipse Public License. See the file COPYING for details.

eclipse-color-theme's People

Contributors

fhd avatar rogerdudler avatar pakdel avatar jeckhart avatar pulse00 avatar devoncarew avatar soc avatar ghillairet avatar askreet avatar davispuh avatar meersdavy avatar mattfysh avatar stacktracer avatar tlusk avatar calebmpeterson avatar goodwinnk avatar jpmoresmau avatar

Watchers

James Cloos avatar Frère Jac avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.