Closed yym2 closed 10 years ago
However if I add id/class names in theindex.html and save the file, the added id/class name won't show up in the index.html file itself or in the style.css, even with [Ctrl+Space]
This should work, otherwise it's a bug. I'll look into it.
After I add the css selectors(id/class names) in the style.css and save the file, then the id/class names will show up in the completion list in the index.html automatically, but not in style.css itself(have to evoke [Ctrl+Space]).
This is an issue with ST3's CSS package blocking completions. I thought I had made a note about this in the readme.md file but it seems I haven't. I'll update it with that info. [updated] https://github.com/subhaze/CSS-Extended/commit/84441c81e4b6d3d2ddc759f0ec6e1bcb3ebb4768
However if I add id/class names in theindex.html and save the file, the added id/class name won't show up in the index.html file itself or in the style.css, even with [Ctrl+Space]
I was unable to replicate this. I created a <style>
added a .testing-class{...}
and was able to get the class completions within a div
in that html file.
A desirable situation would be if I add one id/class name in the html file, later when I want to add another id/class name in the same html file or to use one css selector in the css file, all previously added id/class names in the html file would automatically show up in the completion list.
Is this possible with this package?
I've added a new issue here to consider adding this https://github.com/subhaze/CSS-Extended/issues/20
@subhaze You got me wrong, I didn't mean the class or ID names between the <style>
tags, but something like this in the <body>
<div class="box" id="content">
......
</div>
or
<ul class="nav">
<li></li>
</ul>
@yym2 oh, I see what you're getting at now. I've added it to the WIP list here https://github.com/subhaze/CSS-Extended/issues/21
Simply describe the situation as follows: OS: Mac OSX 10.9.2, ST3 Beta Build 3059 I didn't change any default setting but add support for emmet as you described:
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin, text.html.basic"
in CSS Extended Completion Setting -- User There are two files:index.html
andstyle.css
After I add the css selectors(id/class names) in thestyle.css
and save the file, then the id/class names will show up in the completion list in theindex.html
automatically, but not instyle.css
itself(have to evoke [Ctrl+Space]). However if I add id/class names in theindex.html
and save the file, the added id/class name won't show up in theindex.html
file itself or in thestyle.css
, even with [Ctrl+Space]As you said in Cache on Save
I doubt the package doesn't work out for this function or my setting is incorrect.
A desirable situation would be if I add one id/class name in the html file, later when I want to add another id/class name in the same html file or to use one css selector in the css file, all previously added id/class names in the html file would automatically show up in the completion list.
Is this possible with this package?