Hello, surround with begin..end (Alt + Shift + B) is great feature to use, but I found that it is not working right for me in case
there are some of operators like for.., if.., etc before the line I'm trying to surround with begin..end
For example, I have code like
if Condition then
Something;
I need to add additional line
if Condition then
begin
Something;
SomethingMore;
end;
But when I select Something and hit Alt + Shift + B, I get
if Condition then
begin
Something;
end;
Is there any way to make this tool to distinguish operators like if.., for.., with.. etc and do not shift begin..end construction to the right for them?
For now I've put -1 relative indent in the options since I use this feature with if.. code, but this way it doesn't work with plain code