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

Include CSS grammar in style attributes #88

Open
KamasamaK opened this issue Jul 13, 2018 · 17 comments
Open

Include CSS grammar in style attributes #88

KamasamaK opened this issue Jul 13, 2018 · 17 comments
Assignees

Comments

@KamasamaK
Copy link

Would it cause any issues to add source.css to the value of style attributes?

@infininight
Copy link
Member

Currently this isn't really possible due to how the CSS grammar is structured. The HTML grammar is already structured to be ready for when the CSS grammar is restructured/redone though.

@infininight infininight changed the title CSS in style attributes Include CSS grammar in style attributes Jul 14, 2018
@infininight infininight self-assigned this Jul 14, 2018
@revelt
Copy link

revelt commented Sep 10, 2018

hi all,
Is there a ticket issued for CSS grammar to be re-structured?

If so, please link here.
If not, let's create one (I'm not sure where exactly) so people can see it's got a chance of being worked on.

Currently, looking at this ticket, I don't see what's "the next step", is the issue moving. It seems VSCode's HTML inline CSS highlighting depends on this issue.

@jamilabreu
Copy link

@infininight i hope this is the right place to ask! I'm looking into this issue, any guidance at all would be appreciated:

dracula/visual-studio-code#86 (comment)

Image: https://user-images.githubusercontent.com/33581079/44486178-3baf1500-a629-11e8-80c6-5734c1858faa.png

@jeanes1
Copy link

jeanes1 commented Nov 8, 2019

As HTML email developers, we rely heavily on inline CSS syntax highlighting. VS not having this is the only reason I haven't switched over. Here's a screenshot illustrating the difference in having CSS inline syntax highlighting or not - https://i.imgur.com/h5EkNXE.png

Does anyone think this will ever be fixed/implemented?

@artyil
Copy link

artyil commented Dec 3, 2019

Is it going to be supported? What is the implementation complexity here? I can try to help

@sky47sky
Copy link

sky47sky commented Dec 6, 2019

Can this be looked into? This is one of the last things I'm trying to customize after switching to VSCode.

@Sahaya-Noel
Copy link

Yeah Please try to implement this. This is the only feature that makes me switch to sublime text and back to VSCode. Thanks in advance!!

@jeanes1
Copy link

jeanes1 commented Feb 3, 2021

Anyone know of any workarounds?

@MarcosBaungartner
Copy link

MarcosBaungartner commented Mar 10, 2021

Syntax highlighting for inline CSS in HTML is very important! It would be great if VSCode developers could implement this feature.

@dropfr4me
Copy link

+1

@nxcco
Copy link

nxcco commented Nov 26, 2021

Is this still active or has it been forgotten?

@justintroy
Copy link

+1

1 similar comment
@mark3apps
Copy link

+1

@ItsCubeTime
Copy link

ItsCubeTime commented Aug 18, 2022

+1

Theres an extension that enables this btw: https://marketplace.visualstudio.com/items?itemName=outofsync42.inline-css-color (albeit its a little tedious to setup as it requires you to manually modify your settings.json)

@predaytor
Copy link

+1

@CiberNin
Copy link

I'm certain that interest for this feature remains strong.

@rusproject
Copy link

+1. Take my vote for this feature. This is especially an issue when trying to switch from Sublime to VSCode to refactor older projects with a lot of inline CSS.

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