You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Sass Map, the indentation decreases by one level starting from the next line.
This issue is reproducible in beautifier.io as well.
I am currently using VSCode and initially reported this problem in microsoft/vscode#238101, where I was advised to open a new issue here.
Additionally, this might be related to the issue mentioned in #1236
Interestingly, this issue does not occur when the Sass map is defined with !default
In such cases, the indentation of the closing brackets increases by one level, but acceptable to me.
I have discovered even more interesting behavior regarding this issue.
When a function containing parentheses, such as minmax()repeat(), is used after a map defined with !default, the closing parenthesis of the map unexpectedly results in a new line.
When using Sass Map, the indentation decreases by one level starting from the next line.
This issue is reproducible in beautifier.io as well.
I am currently using VSCode and initially reported this problem in microsoft/vscode#238101, where I was advised to open a new issue here.
Additionally, this might be related to the issue mentioned in #1236
Example Code
Before formatting
Expected behavior
Actual behavior
Additional Information
Interestingly, this issue does not occur when the Sass map is defined with
!default
In such cases, the indentation of the closing brackets increases by one level, but acceptable to me.
Example Code with !default
I understand that solving this problem might require significant time and effort.
I hope this post will help to improve the project.
The text was updated successfully, but these errors were encountered: