InsaneHTML
3.5.2010 23:41 Perma-LinkSomething more positive after my latest rants.
InsaneHTML (light edition) with almost all features planned for KDE 4.5 has landed in the git repository
XHTML/XML writers please give it a try. This plugin should be behaviour similiar to the zencoding selector expansion stuff known from textmate and other editors. It is a cleanroom reimplementation, since I wanted my code to be more liberal then the GPL license permits.
Currently supported are the ">+.#*" operators and the attribute expansion with quoted arbitrary string values or unquoted number and identifier values.
There is an xhtml.cfg file, where default attributes for certains tags can be specified. c(omment) and e(scape) filters are supported too. Please file bugreports if you think something important is missing or some behaviour compared to zencoding is strange.
The only missing thing in my opinion for 4.5 is the dollar expansion for enumerating repeated class names or attribute values. This feature will hit the kate git repo during the coming days.
This plugin is a KTE plugin, which means all applications using the kate part can benefit from it.
The zencoding HTML/CSS elements can be created with the Kate/KDevelop snippet plugins. If somebody is interested in providing snippets, please go ahead and commit them into git or svn or provide them as bug reports with patches. Please no copying from zencoding sources (because of GPL). In KDE 4.6 a greater audience will benefit, because it is planned to make the snippet stuff part of KTE for better code sharing between kate/kdevelop (uses some fork currently)/kile/..... I am not sure if 4.5 would be too much of a rush.

