Format SQL Code within the highlight block

已完成

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,

0

Hello, Thinkriver

You can select a statement and the call to reformat — in this case just the selected code will be reformatted.

0

请先登录再写评论。