question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support SugarSS Syntax Highlighting

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: Win
  • Vetur version: 0.11.6
  • VS Code version: 1.19.2

Problem

SugarSS is a PostCSS parser for indented syntax and neither the PostCSS grammar used in Vetur or the extension below support the indented SugarSS syntax with the source.css.postcss language source

Adding lang='sss' and lang='sugarss' that sets the region’s language to source.css.sugarss will add highlighting when postcss-sugarss-language is installed, like with SASS support. This’ll also support Stylelint.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
softwaredeveloptamcommented, Mar 3, 2021

It would definitely be nice to have this issue resolved if possible. A lot of projects at my work are using SugarSS so it would be great to get syntax highlight support.

Would it be okay if I tried to make a PR for this?

3reactions
yoyo930021commented, Mar 9, 2021

It would definitely be nice to have this issue resolved if possible. A lot of projects at my work are using SugarSS so it would be great to get syntax highlight support.

Would it be okay if I tried to make a PR for this?

The PR is welcome without https://github.com/vuejs/vetur/issues/662#issuecomment-360242512.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax Highlighting for SSS SugarSS - Package Control
This is a Syntax highlighting package for SugarSS (PostCSS) on Sublime ... Fully support; Match syntax structure instead of keywords, that means support...
Read more >
Building Sugarss with SuperflyCSS | by Ole Ersoy - Medium
We have sugarss formatted CSS in the file src/main/sss/index.sss : .a color: red:fullscreen. We need to build it by passing it through all...
Read more >
Issuehunt
Support SugarSS Syntax Highlighting #662 ... SugarSS is a PostCSS parser for indented syntax and neither the PostCSS grammar used in Vetur or...
Read more >
Jonathan Neal on Twitter: "VSCode and PostCSS users ...
I use postcss-sugarss-language extension but never configured the markdown syntax to highlight it.
Read more >
SugarSS at Evil Martians
With more than 200 plugins, developers can lint CSS, support variables and mixins, transpile future CSS syntax, and more. PostCSS logo. Product; Frontend...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found