emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attribute completion task on css-mode


From: Etienne Prud'homme
Subject: Attribute completion task on css-mode
Date: Thu, 11 Feb 2016 11:38:35 -0500

Hi.

Bug#20107 introduced a new feature in css-mode. It’s property
completion. So far, it seems to be quite good. In the Todo section,
there’s “attribute value completion”. I’m assuming that it means
property values completion since there are attribute selectors in CSS.

I was wondering what would be best to include in Emacs. There are
already several packages that do that very well. If css-mode is to
contain property value completion, should it be context aware (should
it give values according to property).

company-css already implements that behaviour by making a list of
attributes & their corresponding valid values. It could be one way to
do, but may be hard to maintain since CSS specifications are
always changing.

Another way would be to make a Semantic language parser. It would give
much more power for doing complex things.

Etienne Prud'homme



reply via email to

[Prev in Thread] Current Thread [Next in Thread]