Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ac-html-csswatcher and ac-html-bootstrap #33

Open
osv opened this issue Sep 29, 2015 · 2 comments
Open

ac-html-csswatcher and ac-html-bootstrap #33

osv opened this issue Sep 29, 2015 · 2 comments

Comments

@osv
Copy link
Contributor

osv commented Sep 29, 2015

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.

@victorteokw
Copy link
Owner

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.

@osv
Copy link
Contributor Author

osv commented Sep 29, 2015

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.31 version of ac-html.
  • or write for ac-html small 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! :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants