vscode-matlab
vscode-matlab copied to clipboard
Auto closing quote when using the transpose .'
Hi, great extension! I have one minor issue, when using the transpose .'
. This normally is getting auto closed to .''
. VS Code has the option to set autoClosingQuotes
to beforeWhitespace
, meaning that it will only autoclose quotes when there is a whitespace in front of the quote.
However, I think the .
is recognized as whitespace, so this does not work. Alternatively I can set autoClosingQuotes
to never
specifically for Matlab:
{
"[matlab]": {
"editor.autoClosingQuotes": "never"
}
}
Is there another way to still have autoclosing quotes, but not autoclose them when there is a .
in front of the '
?
Good issue suggested.
I have a similar issue that when using .'
, the extension seems to assume the quote mark as boundary of string, which is not, while this not happen when using '
to transpose (conjugate) only. So I suggest that this is a little uneasy in vision and should be revised.
Does this issue solved?
Unfortunately I think there's no way to really fix this issue for now. Either we lose the autoclosing quotes completely or we have this annoyance for the transpose. I'll continue to check for options, but I see none for now.