-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
[css][html] SVG language support #66053
Comments
Since SVG is an XML variant, would support for XML be included? Or would that have to be a request under Atom's XML package? |
This issue only concerns SVG. VS Code has some support for XML, and there are extensions for XML too: https://marketplace.visualstudio.com/search?term=xml&target=VSCode&category=All%20categories&sortBy=Relevance |
Would be nice to have standard emmet abbreviation completion. |
|
I am not sure how much of this is implemented in jock's brilliant SVG extension, but at a cursory glance I noticed a huge number of the features you've all requested. We need to start comparing and figure out what features are missing. |
Related: #124901 (SVG previewing) |
@4086606 I think we all could collaborate and create better separate extension for that. Thanks anyway. |
The SCM textual diff view for SVGs is nigh useless unless you're minifying a SVG. E.g. material-extensions/vscode-material-icon-theme@cda3339 The text view is meaningless here while the rich diff preview is much much more useful |
Note: Related on Stack Overflow: How can I get IntelliSense for SVG in HTML, CSS, and JS in VS Code? |
= Syntax highlighting for SVG = Technically SVG is also valid HTML. Sample file: Related: |
Currently, we have no SVG support:
However, with custom tag/property support in HTML/CSS, we should be able to trivially write a SVG package that describes the set of tags/attributes for SVG, and let HTML/CSS language services do the support work.
The text was updated successfully, but these errors were encountered: