"liveSassCompile.settings.formats" showing warning for "savePath"
See original GitHub issueOriginal post
“liveSassCompile.settings.formats” shows a warning for “savePath” if the value of “savePath” is set to anything other than null. Showing same warning for “liveSassCompile.settings.excludeList” array values as well.
Shows the following warning in VS CODE warnings:
Must start with any of:
`/` or `\` (for workspace root)
`~/` or `~\` for relative to the file being processed. Must not end with a path separator (`/` or `\`)
Set the save location of exported CSS.
Set the relative path from Workspace Root.
'/' stands for your workspace root.
Example: /subfolder1/subfolder2. (NOTE: if folder does not exist, folder will be created as well)."
Here are my json settings:
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": ".css",
"savePath": "~/../css"
}
],
"liveSassCompile.settings.excludeList": [
"**/node_modules/**",
".vscode/**"
],
While the Sass still compiles to CSS with the above settings Vscode still shows a warning in “savePath” as well as “liveSassCompile.settings.excludeList” array values.
Tasks for 5.2 release
- Find cause
- Apply fix
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How to setup output path to compiled css files using `vscode ...
code and go to settings then search Sass and see below Live Sass Compiler click here and see right side Live Sass Compile...
Read more >Settings & Commands | Live Sass Compiler | VSCode Extension
liveSassCompile.settings.formats. ℹ This setting can vary between workspace folders - read more. An array of formats. Allows you save to multiple locations ...
Read more >vscode-live-sass-compiler/settings.md at master - GitHub
[NEW] liveSassCompile.settings.formats : To setup Format (style), Extension Name & Save location for exported css [Multiple Format ...
Read more >Live Sass Compiler - Codecademy Forums
I have installed the live sass compiler by ritwick dey but I guess the problem is in the settings.json file. Please see the...
Read more >Headstarting with Sass - DEV Community
In this section you define the format of the code - whether it is expanded or minified - what the name of ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So the issue was two-fold, Microsoft released an update that stopped trying to use incorrect regex - reference
I checked my regex and, apparently, it’s invalid somehow - even though it is valid in regex101. I needed to double double escape all of my
\
characters to\\\\
instead of just\\
I will apply a fix and publish an update soon
Very strange
Are you updating your
package.json
as dibakash did? Or just yoursettings.json
file?If it’s the latter then please revert your setting and use the version that I have zipped below
live-sass-5.1.2-alpha.1.zip