Git Product home page Git Product logo

Comments (18)

subhaze avatar subhaze commented on May 18, 2024

Thanks for the report, I'll look into this sometime this week/weekend.

from css-extended.

elshawno2 avatar elshawno2 commented on May 18, 2024

thought id add to this ticket if possible?

having the same issue in st3 on winXP and win7

from css-extended.

subhaze avatar subhaze commented on May 18, 2024

@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.

elshawno2 avatar elshawno2 commented on May 18, 2024

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.

elshawno2 avatar elshawno2 commented on May 18, 2024

@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.

subhaze avatar subhaze commented on May 18, 2024

@elshawno2

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.

subhaze avatar subhaze commented on May 18, 2024

@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.

elshawno2 avatar elshawno2 commented on May 18, 2024

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.

elshawno2 avatar elshawno2 commented on May 18, 2024

@subhaze "auto_complete_selector": "meta.tag string.quoted" , dosent seem to be working for me.

from css-extended.

elshawno2 avatar elshawno2 commented on May 18, 2024

screen1

from css-extended.

subhaze avatar subhaze commented on May 18, 2024

@elshawno2 try removing the trailing ,

from css-extended.

elshawno2 avatar elshawno2 commented on May 18, 2024

@subhaze removed the "," still nothing

from css-extended.

elshawno2 avatar elshawno2 commented on May 18, 2024

@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.

subhaze avatar subhaze commented on May 18, 2024

I've been a bit covered up, but, I'll try to review your updates in the next day or two.

from css-extended.

edlahoz avatar edlahoz commented on May 18, 2024

@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.

subhaze avatar subhaze commented on May 18, 2024

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.

elshawno2 avatar elshawno2 commented on May 18, 2024

thanks @subhaze !

from css-extended.

subhaze avatar subhaze commented on May 18, 2024

Moved the list to a new issue here #21

from css-extended.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.