Comments (6)
Sorry for the delay in replying, I was on vacaton. I'll try to fix this tomorrow.
from vscode-sass-format.
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.
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.
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.
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.
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)
- ¿Does it have support this extension? HOT 2
- [Feature] - Option to vertically align assignments or properties for easy reading HOT 2
- Turn off output window HOT 6
- [Feature] Add option to disable trailing 0 HOT 3
- OptionParser::InvalidOption: invalid option: --quiet HOT 3
- grid-template-areas attribute (and others) is not formatted correctly HOT 2
- can i disable it for some lines? HOT 3
- Replacing deprecated sass-convert HOT 2
- sass-convert: command not found HOT 3
- .wxss file format error HOT 1
- Ignore Sass Maps by default? HOT 3
- Support node-sass HOT 2
- Issue with using single quotes HOT 2
- Leading zero option (`"sassFormat.numberLeadingZero": false`), correcting to the final digit HOT 1
- new line after selector lists - HOT 1
- Respecting brace-style setting in sass-lint HOT 1
- 'sass-convert' is not recognized as an internal or external command, operable program or batch file. HOT 4
- When trying to format the code, the console displays the following message HOT 1
- Getting an error Extension host terminated unexpectedly issue with VS code
- Comments move 2 lines down when formatting HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-sass-format.