Closed gustavoferrara closed 11 months ago
Thank you for reporting this bug. The scss parser didn't support namespaces in the @use
statement yet. We have already merged a fix and it should be available in the next release.
Was this the only parser error you encountered? The namespace support is still a bit incomplete, so I just want to make sure you don't run into the next problem when the fix is available.
Regarding to the scss parser no other issues so far. Separately on .tsx files, if you add a parent div which causes indentation changes inside the jsx, the diff will detect the added spaces as changes. It isn't something that major but would be nice to have it filtered out especially on bigger files.
We have just released SemanticDiff 0.8.5 which adds support for namespaces in @use
statements. Can you confirm that it works for you?
Yeah it's parsing correctly now, thank you!
Describe the Bug Parser reporting an error with the
as
keyword when trying to choose a namespace with@use
.To Reproduce Steps to reproduce the behavior:
@use "./file" as namespace
.Expected Behavior Should parse correctly.
Actual Behavior Returns a parsing error and highlights the
as
keyword.SemanticDiff Version 0.8.4
VS Code Information