vscode-region-manager icon indicating copy to clipboard operation
vscode-region-manager copied to clipboard

Bug in collapsing *.sql

Open sunamo opened this issue 6 years ago • 0 comments

Hello,

I'm very appreciate your extension, it's really cool. I have one wish - please add support to fold region in *.sql file with comment without any space before starting mark --.

If exists this code:

/* #region LOOP / Select * from table -- fold
where id = 1 /
#endregion */

region will be collapsed just to line 3, despite of exists /* #endregion */ on the end. But is working fine:

/* #region LOOP / Select * from table -- fold
where id = 1 /
#endregion */¨

Or please tell me what is influicing this behaviour and workaround.

In C# everything works fine, for SQL I use https://marketplace.visualstudio.com/items?itemName=mycelo.oracle-plsql and don't know how folding working with language support extension.

Many thanks

sunamo avatar Nov 13 '18 11:11 sunamo