Color Codes Preview - plugin detail

Show color codes preview per line in an editor's sidebar.

NetBeans Plugin - Color Codes Preview
Plugin owner: junichi11
Website: https://github.com/junichi11/netbeans-color-codes-preview
Added: 2015-03-26
License: CDDL-GPL-2-CP
Category: Editing
Downloaded: 4,062 times
Rating:
 4.63, by 4 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.06 MB   Last Update: 2017-07-28

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

0.5.0

There is no change from 0.4.0.

0.6.0

Support for Named Colors #3

Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 0.06 MB   Last Update: 2016-05-06

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

0.4.0

  • Fix an issue #10


Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.06 MB   Last Update: 2015-04-05

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

0.2.0

Add an option for mime-types #8.
NOTE:Enabled mime-types are css, less, sass, and scss by default.

Verifications for NetBeans versions

8.0 verification PASSED See verification details


Introduction

Show color codes preview per line in an editor's sidebar.

Document

GitHub README.md

Issues

GitHub Issues If you have some problems, please submit them to GitHub Issues. Please don't submit them to NetBeans bugzilla.

Disable / Enable

Check/Uncheck View > Show Colors

Supported color patterns

  • Hex color code (e.g. #ffffff, #000)
  • Css rgb/rgba values (e.g. rgb(0,0,0), rgba(255, 255, 255, 0.8))
  • Css hsl/hsla values (e.g. hsl(0, 100%, 50%), hsla(120, 100%, 50%, 0.5))

Multiple colors

  • Show top two colors in a sidebar if there are multiple colors in a line.
  • If you want to check all colors, please click a specific rectangle. They will be shown as a list.

Change a color using the color chooser

  • Click a colored rectangle
  • Click a color value of a list
  • Select a new color in the color chooser
  • An old color value will be changed to new one with the same format

NOTE

  • Colors may be shown if they are not color codes. e.g. "#feature" contains #fea. This plugin recognizes it as a hex color code.
  • If you use the GTK Look and Feel, you cannot change an alpha value in the color chooser.
  • Hsl or hsla color values may not be changed correctly when you use the color chooser. (There may be 1% errors.)

[ You have to be logged in to be able to comment. ]

User Comments

  

RE: Awsome plugin!

Hi Mardonis,

Could you submit your issue to the GitHub issue tracker[1] if possible?

[1] https://github.com/junichi11/netbeans-color-codes-preview/issues

Thanks!
Posted by junichi11 on Aug 19, 2015
  

Awsome plugin!

Wonderful little plugin. Works great. Could you add the ability for OpenGL and GLSL (vertex, geometry, & fragment shaders) format also please?

Example OpenGL: glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
Example GLSL: out_Color = vec4(1.0f, 0.0f, 1.0f, 1.0f);

Thank you,
Posted by Mardonis on Aug 19, 2015
  

Re

Thx!
Posted by ent38 on Apr 05, 2015
  

RE: Good idea!

> Could you add an option to enable/disable by file type?

I'll try it :)

> I'd like to avoid the additional left margin for other files.

I think so.

Thanks!
Posted by junichi11 on Mar 28, 2015
  

Good idea!

Very good idea! Thx for this plugin.

Could you add an option to enable/disable by file type?
Example: I'd like to enable it for css/less/sass files only. I'd like to avoid the additional left margin for other files.

Regards,
Posted by ent38 on Mar 28, 2015
  

RE: Nice one

Yes, the plugin just searches some color patterns. Doesn't check mime-types.

Thanks!
Posted by junichi11 on Mar 28, 2015
  

Nice one

it even works for Javacode.
Posted by markiewb on Mar 28, 2015
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo