ac-html-csswatcher and ac-html-bootstrap
Greeting, I see some lot of work was done in master branch. I'd like to know, does it possible to make ac-html work with https://github.com/osv/ac-html-csswatcher and https://github.com/osv/ac-html-bootstrap WITHOUT changing last 2 :).
Some one may try use those packages with ac-html, but you change to completion-data. I update ac-html and cant make it work, need to dig.. but have not time.
For ac-html 0.4 to working with ac-html-bootstrap and ac-html-csswatcher, additional code is needed.
Since ac-html 0.4 doesn't rely on the directory structure, it naturally breaks the way ac-html-bootstrap and ac-html-csswatcher work.
For them to work, someone should use ac-html-define-data-provider to define a data provider.
Since there are maybe completion data from sqlite, from another process, from json and etc. I removed 'official' support for the strange directory structure. This should be my fault when I design ac-html last year.
For users using ac-html and ac-html-bootstrap, the stable ac-html 0.3 series is downloadable from melpa-stable. And company-web is fantastic, based on better completion engine company.
If you don't have time to update these two packages, I may update them sometime. I really like ac-html-bootstrap.
I see :)
I check ac-html-default-data-provider.el I think it not so hard to provide support legacy directory structure for those 2 packages. For now I can't find why new directory structure better then old (except weird directory names) but I agree, that provider-way open in future new opportunities.
I think for now solution is one of:
- to add into readme of ac-html-bootstrap & ac-html-csswatcher info about to use melpa stable
v0.31version of ac-html. - or write for
ac-htmlsmall adapter to old directory structure support.
I think in future we again mege html web completion data into single project like web-completion-data maybe with better perfomance (I and my hdd don't love thousands of small files! :))