Format SQL Code within the highlight block
Completed
Hi DataGrip team,
It would be grate to allow only format the code been highlighted by this green box, just like executing SQL code will only execute the code within this green box.
At this moment, if I use 'Reformat Code', it will ignore this highlight context and format everything in the file. However, most of time I only want to format this block, rather than everything.

Thanks,
Please sign in to leave a comment.
Hello, Thinkriver
You can select a statement and the call to reformat — in this case just the selected code will be reformatted.