Closed AyushChothe closed 3 months ago
This is an unfortunate limitation of how the formatter works, as we parse the queries into surrealdb and use the built-in formatter as result.
I have changed the formatter so when a selection is active, only the highlighted text will be processed. This means you can format individual queries without losing all your comments
Describe the bug
Format Query
removes the commented queriesTo Reproduce Steps to reproduce the behavior:
Format Query
Expected behavior
Format Query
should not remove commented queriesEnvironment: