All Projects → junichi11 → netbeans-color-codes-preview

junichi11 / netbeans-color-codes-preview

Licence: Apache-2.0 license
Show colors in an editor's sidebar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to netbeans-color-codes-preview

netbeans-wordpress-plugin
Support for WordPress
Stars: ✭ 92 (+283.33%)
Mutual labels:  netbeans, netbeans-plugin
NBCndUnit
NetBeans C/C++ unit testing plugin – supporting CppUTest, GoogleTest (gtest) / GoogleMock (gmock) and libunittest C++.
Stars: ✭ 13 (-45.83%)
Mutual labels:  netbeans, netbeans-plugin
tikione-jacocoverage
NetBeans module that provides JaCoCo code coverage for Ant based Java SE, Java EE and NetBeans Module projects (JDK5,6,7,8 compatible).
Stars: ✭ 25 (+4.17%)
Mutual labels:  netbeans, netbeans-plugin
sonarlint4netbeans
SonarLint integration for Apache Netbeans
Stars: ✭ 23 (-4.17%)
Mutual labels:  netbeans, netbeans-plugin
tmux
💽 Soothing pastel theme for Tmux!
Stars: ✭ 63 (+162.5%)
Mutual labels:  colors
rainbow.sh
Simple colors for your bash scripts
Stars: ✭ 41 (+70.83%)
Mutual labels:  colors
ketabhome-shopping-cart-admin-panel
🛒 📙 📔 ketabhome is an online java book store application with admin panel based on servlet, with database c3p0 connector
Stars: ✭ 19 (-20.83%)
Mutual labels:  netbeans
netbeans-mongodb
A NetBeans plugin for browsing MongoDB
Stars: ✭ 13 (-45.83%)
Mutual labels:  netbeans-plugin
lib-preferences
Lib-Preferences is a library for easy storing simple data to a Preferences.properties file in a Java(FX) & Maven desktop application.
Stars: ✭ 12 (-50%)
Mutual labels:  netbeans
epick
Color picker for creating harmonic color palettes that works on Linux, Windows, macOS and web.
Stars: ✭ 89 (+270.83%)
Mutual labels:  colors
colorify
Colorify - C# .Net Console Library with Text Format: colors, alignment and lot more [ Win+Mac+Linux ]
Stars: ✭ 49 (+104.17%)
Mutual labels:  colors
kolorist
A tiny utility to colorize stdin/stdout
Stars: ✭ 160 (+566.67%)
Mutual labels:  colors
line
An easy to use golang package for stylizing terminal output
Stars: ✭ 26 (+8.33%)
Mutual labels:  colors
hsluv-c
C99 implementation of HSLuv (revision 4)
Stars: ✭ 71 (+195.83%)
Mutual labels:  colors
colortest
Quickly show all your terminal colors
Stars: ✭ 66 (+175%)
Mutual labels:  colors
CLE
Command Live Environment
Stars: ✭ 21 (-12.5%)
Mutual labels:  colors
color
OCaml library to work with colors on the web
Stars: ✭ 20 (-16.67%)
Mutual labels:  colors
tasarimcilar-ve-yazilimcilar-icin-kaynak-arsivim
Tasarım ve yazılım ile ilgili 2017 yılından günümüze kadar geçen zamanda toplamış olduğum arşivimi sizle ile paylaşıyorum. Ne mi var her şey...
Stars: ✭ 276 (+1050%)
Mutual labels:  colors
Holi
Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!
Stars: ✭ 160 (+566.67%)
Mutual labels:  colors
razer-cli
CLI for configuring Razer devices
Stars: ✭ 46 (+91.67%)
Mutual labels:  colors

NetBeans Color Codes Preview Plugin Build Status

This plugin shows a color codes preview in an editor's sidebar.

screenshot

Disable/Enable

Uncheck/Check View > Show Colors

Downloads

Supported color patterns

  • Hex color code (e.g. #fff #000000)
  • Css rgb/rgba values (e.g. rgb(0, 0, 0), rgb(50%, 0%, 100%), rgba(255,255,255, 0.8))
  • Css hsl/hsla values (e.g. hsl(0, 100%, 50%), hsla(120, 100%, 50%, 0.5))
  • Named colors (e.g. red, blue)
  • Java Color class colors (e.g. Color.black, new Color(100, 100, 100), new Color(0, 0, 255, 255))

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 a color chooser

changing-colors

  • 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(Hex and CSS)

NOTE

If "GTK look and feel" is used, an alpha value is not available. So, in that case, this plugin doesn't show the color chooser for new Color(r, g, b, a).

Generate color codes

You can generate color codes via a code generator(Alt + Ins).

  1. Run a code generator(Alt + Ins)
  2. Choose Color...
  3. Choose the format you expect (e.g. new Color(r, g, b))
  4. Choose a color
  5. Click the OK button
  6. A color code is generated at the caret position

generate-color-codes

Options

Tools > Options > Miscellaneous > Color Codes Preview

Hex and CSS colors

screenshot-options

Regex for enabled mime-types

Default value is ^text/(x-)?(css|less|sass|scss)$. If you would like to disable/enable some mime-types, please change the default regex. This pattern is used when the plugin checks a mime-type.

If you would like to enable xml files, please add |.*xml. i.e. ^text/(x-)?(css|less|sass|scss|.*xml)$

Resolve Sass and Less Variables

This option is false by default. If you would like to resolve Sass and Less variables, please check it.

NOTE: The simplest cases only e.g. $green: #0f0;

Named Colors

This option is false by default. If you would like to show named colors, please check it.

Java Color class colors

NOTE

If you would like to show colors of Color.decode(<hex>) e.g. Color.decode("#000000"), Please add java to "Regex for enabled mime-types" of Hex and CSS e.g. (^text/(x-)?(css|less|sass|scss|java)$)

Contributing

Bugs & New Features

If you have some requests, problems, and more, first of all, please submit them to Issues. Please don't create PRs soon. I'll request creating PRs if I need your help.

Typos

If you find typos or incorrect English, please let me know. If you would like to create a PR for fixing them, please do that.

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.)
  • Doesn't recognize the following Java Color case: new Color(0.25f, 0.50f, 0);, in such a case, please add f. i.e. 0f or 1f.

Donation

https://github.com/sponsors/junichi11

License

Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].