L-I-V/MQL-Tools

Insert mq4/mq5 with format on save adds space in vscode editor

Opened this issue · 1 comments

Hi,
somehow the auto format is adding a space between // and ###.
So I instead of this
//###<Experts/learning/candle_pattern.mq5>

I end up whith this:
// ###<Experts/learning/candle_pattern.mq5>

And the extension is complaining that I should add the file to the top of the file.

image

I already disabled "Editor>Commands>InsertSpace
image

I really have no clue where this comes from. I could not find a corresponding setting in clang-format.

I also tried to use comment pragma like this CommentPragmas: '^[^ ]

Nothing works, the space is always added

Maybe somebody could point me in the right direction? Or is it possible that the extension can also suppport // ###<Experts... in the future? ;-)