Netbeans for PHP

WBOY
WBOYOriginal
2016-06-23 14:36:191862browse

Code Completion for Colors in CSS

Posted by  Petr Pisl on  Feb 25 2010, 02:51:55 PM CET

Another improvements that is based on your comments is code completion for colors in CSS rules. The code completion for color and background property offers now at first position an item that opens color chooser. 

There is a standard Java color chooser and when you select a color in the chooser, the color is completed. The chooser remembered last selected color and also the item in code completion has an icon (small square) with the last selected color.

 

The color chooser above is from Linux platform. On Mac and Windows machine the color chooser looks like on the picture below and it looks better. If there will be time, the standard Java color chooser component will be replaced with a custom component, that should be better for web developer purpose. 

If you look at the first picture, there are black and gray color code completion items. The black color items are used in the edited file and the gray color items are colors that are used in other CSS files in the project.

In the same way works code completion for color and background property of a style in HTML and PHP files. 

 

引用: http://blogs.sun.com/netbeansphp/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php smarty section loopNext article:PHP之$_SERVER