Git Product home page Git Product logo

Comments (6)

sjova avatar sjova commented on May 29, 2024

Sorry for the delay in replying, I was on vacaton. I'll try to fix this tomorrow.

from vscode-sass-format.

sjova avatar sjova commented on May 29, 2024

I updated extension and if you're using useSingleQuotes setting now, double quotes in comments will remain untouched. I tested multiple different cases (default CSS comments - single line/multi line, Sass comments, inline comments) and everything works fine.

For testing purposes I used examples from here with double quotes inside of comments:
https://developer.mozilla.org/en-US/docs/Web/CSS/Comments
http://sass-lang.com/documentation/file.SASS_REFERENCE.html#Comments________and_____comments
http://warpspire.com/kss/syntax/

Please update extension to the latest version on your side and let me know if everything is good. Thanks.

from vscode-sass-format.

sjova avatar sjova commented on May 29, 2024

I'll consider this as done. If there is any additional issue on your side, feel free to reopen this issue or create new one. Thanks.

from vscode-sass-format.

saxena-ashutosh avatar saxena-ashutosh commented on May 29, 2024

Hi Sasa,

Sorry for the delay, today I have tried same issue with latest version and found it working fine for us. Thanks for help.

from vscode-sass-format.

saxena-ashutosh avatar saxena-ashutosh commented on May 29, 2024

Hi Sasa,

I also have one observation regarding sass formatter i.e. formatter is not splitting &.abc, &.def into below given format:

&.abc,
&.def {
//sample code
}

Please look if you can help us in this.

from vscode-sass-format.

sjova avatar sjova commented on May 29, 2024

Hi saxena-ashutosh,

Thanks for checking. I'm glad to help you.

About 2nd topic, that is how sass-convert console tool work. For those cases formatter will fix only spacing and indention, in this way formatter will not break user coding style. Someone and/or some css frameworks like to put all selectors in single line, and others like to put each selector in new line. I can't do anything around this.

Best

from vscode-sass-format.

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.