资 源 简 介
Code Complete (aka CoCo) is an advanced auto-completion tool for CSS and is written in ahk. It is being written to address a series of problems with current solutions including:
Require activation/completion key. Why? If the program includes syntax highlighting (and they do) then it is already able to detect the portion of the document into which the user is typing. Therefore, it should be relatively simple to automatically turn on the auto-complete trees that affect that particular portion.
Not context sensitive. In Notepad++ for example, when I am typing a css document, I am given a list of attributes when I am typing a selector. If the above detection system were implemented, I should instead only receive a list of selectors whilst ignoring the attributes, values e.t.c. This would also mean that the auto-completion trees would be smaller and the user would be able to get to the input they wanted in a shorter number of branches (meaning less keys typed).