Giter VIP home page Giter VIP logo

netbeans-colors-solarized's Introduction

Solarized Colorscheme for NetBeans

Developed by Ethan Schoonover [email protected] Ported to NetBeans by Brian Fenton [https://github.com/fentie]

See the homepage for the Solarized colorscheme for versions for Vim, popular terminal emulators and other applications.

If you have come across this colorscheme via the NetBeans-only repository on github, see the link above to the Solarized homepage or visit the github repository for Solarized.

Installation

  1. Download the NetBeans Solarized repo. Unpack the downloaded file, then manually create a new zip file containing the "config" folder.

  2. Open NetBeans, select Preferences, then Import in the lower left. Navigate to the zip file you created, check the Netbeans_Solarized_Dark and/or Netbeans_Solarized_Light box under the Fonts & Colors section.

  3. Restart NetBeans (just to be on the safe side).

  4. To use the new themes, go to Preferences, Fonts & Colors, and select either of the two new themes from the Profile dropdown, and hit OK.

Known Issues

Do not use the archive program built into Windows XP to create the zip file in step 1. It does not support file paths longer than a certain length, and that results in some missing preferences. If you are using Windows XP, use a third party archiver like 7zip (free).

Which Variation?

Normally there would be a discussion of 16- vs. 256-color versions of Solarized here, but I've only ported the 16-color version. This color scheme is also not as flashy/rich as the Vim ones due to lack of granularity in the NetBeans theme preferences.

The Values

The NetBeans color preferences UI supports RGB, HSB, and hex values. I prefer the RGB versions, which I've copied below for reference. For the full list of colors specified in other formats, see the main Solarized home page

SOLARIZED sRGB
--------- -----------
base03      0  43  54
base02      7  54  66
base01     88 110 117
base00    101 123 131
base0     131 148 150
base1     147 161 161
base2     238 232 213
base3     253 246 227
yellow    181 137   0
orange    203  75  22
red       220  50  47
magenta   211  54 130
violet    108 113 196
blue       38 139 210
cyan       42 161 152
green     133 153   0

License

Copyright (c) 2011 Ethan Schoonover

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

netbeans-colors-solarized's People

Contributors

fentie avatar mrtorrent avatar treffynnon avatar webflo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netbeans-colors-solarized's Issues

Highlight colors are all the same

Hi, thanks for the excellent job porting this theme to Netbeans. One small issue I noticed is that the colors for highlighting the current line, usages of the current variable, and selected text are all the same, so there's no way to distinguish them.

Dark theme gets imported with white background

When importing the settings into NetBeans 7.0 following the instructions provided in the readme, there is no visible difference between the Light and Dark themes. The background color is still white on the Dark theme. Is this intentional?

Dedicated color for Field in Java mode

I'm not used to the solarized theme in general but I just tried the themes for Netbeans (both black and light), thanks for the port.

In java, by default, Netbeans shows the fields in a different color (some dark green). This feature is very important for code readability and understanding. I thus changed the color of "Java>Field Declaration" and "Java>Field Use" to some pale dark green: 105,185,101 (rgb).

My choice is not necessarily the best but it would be helpful for java developers to distinguish fields from other variables.

Cheers,
Rémi

No distinction between selection and enclosure colors

The colors used for selections and enclosures are identical, or too similar, to properly see what is actually selected.

Suppose you have the following php code:

    <?php
        foreach ($files as $file) {
            echo "Narf!";
        }
    ?>

If you select $files as $file, starting at the end, it will look like you selected $files as $file).

Would it be possible to use a different color to highlight either the selection or the enclosure highlighting?

Font is not monospace

I found Solarized very interesting and was happy to see there is ready Netbeans color settings. But I got upset after importing the settings when I saw editor font changed to non-monospace font. Should fonts be monospace according to Solarized?

No options to import

After downloading the zip, I went into Netbeans >> Tools >> Options >> Import and browsed to the zip file. The dropdown to select available options to import however remains blank hence nothing is imported. Any ideas?

Netbeans doesn't import preferences from .zip archive

Wrong description:

Download the zipped version of this repo.

Github creates archive with folder inside, so archive looks like:

fentie-netbeans-colors-solarized-434588a.zip
--fentie-netbeans-colors-solarized-434588a
----config
----README.md

but netbeans uses another structure:

archive.zip
--config

Solution: extract default github archive and compress "config" folder to .zip archive

No color set for PHP 'Mark Occurrences'

Netbeans will highlight multiple occurrences of a variable or other elements when the caret sits on one for more than a moment. This theme has the color for that highlight set to inherit which means it isn't visible.

On my own copy I've set it to be the same as the 'Highlight Search' background - rgb(56, 86, 111) - but I suppose anything gives good contrast would work well.

I don't know if other languages need a similar fix or not.

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.