VSCode snippet, how to force the starting column of a line?

78 Views Asked by At

as cobol dev, I have to start comments at a certain column in the code.

I would like to know if there's a way to tell "for this line, start at column 7" to VSCode with snippets

I didn't find how to do.

Maybe is there an opposite of the \t ? It would at least be better than nothing

EDIT :

I couldn't find anything about it. I had to create a new issue on the VSCode GitHub

https://github.com/microsoft/vscode/issues/205668

1

There are 1 best solutions below

1
Scott Nelson On

You could use one of the COBOL VSCode extensions. The one that I use, bitlang.cobol, knows how to tab between column 7, 8 and 12. And shift tab goes to the previous tab stop.