Insert space before px in container queries Max Alekseyev 创建于 2024年08月10日 17:10 Insert space before px in container queries and doesn't format correctly with indent → compiler error after autoformatting
Can you please share a bit more context around the problem? Which version of the IDE are you using? What language is it - SASS, Less?
Sure, Lena
- WebStorm 2023.3.1
- Less (_listings.less file)
Renamed it to _listings.css and got
I see, thanks for update. It must be fixed in the upcoming 2024.2 release, please see https://youtrack.jetbrains.com/issue/WEB-63007/Wrong-code-indent-in-nested-container-queries-LESS.
Can I somehow prevent the container formatting at all?
You can use special comments or glob patterns to exclude certain blocks/files from formstting, please refer to Code Style | WebStorm Documentation (jetbrains.com).
Thank you, that solve the problem