Comments (18)
Thanks for the report, I'll look into this sometime this week/weekend.
from css-extended.
thought id add to this ticket if possible?
having the same issue in st3 on winXP and win7
from css-extended.
@duukesanj @elshawno2 I'm able to get all completions to show when triggering the completion list via ctrl+space
so I guess the issue you're seeing is that the list is not triggered automatically without calling it (ctrl+space).
If this is what you are referring to you can add "auto_complete_selector": "meta.tag string.quoted"
to your user settings and that should auto trigger the completion list without the extra keystrokes.
from css-extended.
still having issues, relatively new sublime user, so my apologies for any obvious solutions.
i think i read somewhere that that with css extended you need to add the css files to cache in order to get this to work.
is that correct to assume that having the css file linked in the head isnt enough to get this package to work? and if so, what file am i adding the css cache to? my index.html?
perhaps a step by step set up guide would help? thanks
from css-extended.
@subhaze nvm sir. moments after writing that i found the solution. in order to get this to work, one needs to right click the FOLDER all of your files are in (html, css, etc...) and then select "add css files to cache". only then will this package work.
from css-extended.
is that correct to assume that having the css file linked in the head isnt enough to get this package to work? and if so, what file am i adding the css cache to? my index.html?
That's correct, it does not load files in based on the link tags in the head of a document (maybe I can look into that as a new feature that attempts to do this?).
It stores cache on file save, or, by using the sidebar and right clicking a folder and selecting to cache that folder. Currently there is no recursion that happens so only the files of that folder are cached and no sub-folders are looked at.
Any suggestions on updating the readme.md is welcomed. Here is the link to the current explanation of how things work https://github.com/subhaze/CSS-Extended#completion-cache
from css-extended.
@elshawno2 OK, glad you found the solution. It seems that I need to make that a bit more prominent in the reademe so others don't miss that vital bit of info.
from css-extended.
i would definitely consider updating the readme for a clearer explanation and steps on how to get it working. also if you could into having it load whatever css files are linked, i think thats a feature a lot of people would love.
overall, this is exactly what ive been looking for since switching from dreamweaver. A+ would recommend, keep up the great support and thank you!
from css-extended.
@subhaze "auto_complete_selector": "meta.tag string.quoted" , dosent seem to be working for me.
from css-extended.
from css-extended.
@elshawno2 try removing the trailing ,
from css-extended.
@subhaze removed the "," still nothing
from css-extended.
@subhaze also noticing that while i got it to work, its only pulling up classes that start with a "."
my stylesheet example:
.hello {
}
.wrap {
}
.hello2 {
}
h1 {
font-weight: 20px;
text-decoration: underline;
}
h2 {
}
pressing ctrl+space only bring up everything except "h1"
from css-extended.
I've been a bit covered up, but, I'll try to review your updates in the next day or two.
from css-extended.
@elshawno2 Classes are supposed to start with a "." Or I may be missing your observation.
@subhaze Can I manually reference an external file from a remote source? Say from a cdn?
from css-extended.
Yeah @elshawno2 is correct, if you have a .
elements shouldn't added to the completion list. However, elements are currently not in the completion list at all, but, could be added in.
Here is the checklist I've come up with from this ticket:
- Add instructions in the README.md on what selectors to add for auto triggering the completion list (if possible, in ST3 some areas this is impossible due to how the default CSS package code is setup)
- More clearly state how the plug-in works and how to add files to the cache
- Look into caching linked stylesheets on file save
- Add elements to the completion list
from css-extended.
thanks @subhaze !
from css-extended.
Moved the list to a new issue here #21
from css-extended.
Related Issues (20)
- load_external_files
- CSS Extended Completations Menu Disabled HOT 2
- JSX support
- Parsing issue HOT 1
- Not working on Mac, Sublime 3 HOT 5
- external css files not quit working HOT 1
- Problems with css working project wide
- Package stops Emmet autocomplete
- plugin_host error in build 3101 / 3102 / 3103 ! HOT 27
- Duplicate CSS completions
- Load Files From Side Bar Menu not visible HOT 1
- Unicode parsing HOT 1
- Not working in ST #3114 HOT 1
- ST3 Crashes if I make changes to CSS file
- Unicode seems to break parsing HOT 1
- How do i turn off vendor prefixes for this plugin?
- Extremely slow parsing
- When the parameter "load_external_files" is empty, traverse the folder and look for all the files specified in "css_extension". HOT 2
- Fix the error: plugin_host has exited unexpectedly in 3187 and 3188
- Wierd Emmet autocompletion problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css-extended.