2
SQL Editor region collapse like in JS with VS Code
Source: supabase/supabase#33570 · opened by @jonashaus
In most IDE's, you can create collapsible "regions" by wrapping Javascript code with region comments:
The IDE will show this as a collapsible code block - i use this to improve code readability. Since the Supabase SQL Editor "IDE" already supports collapsing e.g. "coalesce" statements, I thought this would also be cool for regions. Of course, in SQL, the syntax would be:
I personally would love to see this feature and hope to see some general community interest in this 😊
The IDE will show this as a collapsible code block - i use this to improve code readability. Since the Supabase SQL Editor "IDE" already supports collapsing e.g. "coalesce" statements, I thought this would also be cool for regions. Of course, in SQL, the syntax would be:
I personally would love to see this feature and hope to see some general community interest in this 😊
No pledges yet. Be the first to back this.
Comments
Similar requests
Edge functions: regional invocation with an array of allowed regions
1 vote · 0 comments
Mexico Region Request
6 votes · 0 comments
[studio] Support multiple results in SQL Editor
2 votes · 0 comments
Seed folder instead of / in addition to seed.sql file (backwards compatible)
2 votes · 0 comments
Ability to change an apps region
8 votes · 0 comments
No comments yet.