Skip to content

Suggest completion only for the classes in CSS files linked in the current HTML file #217

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

Open
linjialiang opened this issue Aug 4, 2019 · 4 comments

Comments

@linjialiang
Copy link

Is anyone still maintaining it?

I think this needs to add an option to only get those CSS stylesheets and built-in styles that have been added

@linjialiang
Copy link
Author

I have a lot of CSS stylesheets in the project, but the current HTML file just loads style1.css.
I just want to list the CSS values associated with style1.css

@zignd
Copy link
Owner

zignd commented Aug 5, 2019

Would you mind elaborating on what do you mean by getting the "CSS stylesheets and built-in styles that have been added"? Do you mean new changes or additions to an existing CSS file in the workspace?

@linjialiang
Copy link
Author

This plug-in gets the values of the CSS styles for the entire project!

  • In practice, however, only the styles of the CSS stylesheets loaded in the HTML page are useful!

@linjialiang
Copy link
Author

linjialiang commented Aug 5, 2019

Let's say I have more than 1000 style sheet files in my project:

style0.css
style1.css
style2.css
style3.css
style4.css
style5.css
style6.css
style7.css
style8.css
style9.css
style10.css
...
style1024.css

HTML contains only one stylesheet file:

<html>
    <head>
        <title>demo</title>
        <link href="./sytle0.css" rel="stylesheet" type="text/css">
    </head>
    
    <body>
        <style>
            ...
        </style>
        I just want to get inline styles and style0.css styles !
    </body>
</html>

@zignd zignd changed the title Is anyone still maintaining it Suggest completion only for the classes in CSS files linked in the current HTML file Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants