I am using VScode to write latex. I found that the tab completions (settings below, I make it works for snippets without choosing from suggestions) for snippets I defined won't work after some certain column numbers at a current line. For example, at a certain line, my snippets does not tab complete for column number larger than 136 (choosing it via the suggestions, still works), at other lines, the number will change but there must be one (tried many times)...
A more specific example: On my side, for the line
cdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgregqcdacobccwaevqvrtbqrgqqgre
, the snippets tab completion won't work at or after column number 100.
Note that, if there is a (or a few) spaces before the snippet, it will still work fine, but not when there is none. for example, if I have a snippet sn
, then ....abc sn
+ tab
will work but ...abcsn
+ tab
will not work, after 100 columns, but both works before 100 columns.
Here is my settings to use tab completion without choosing it from suggestions:
{
"latex-workshop.view.pdf.invert": 0.87,
"editor.fontSize": 13,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"editor.tabCompletion": "onlySnippets",
"editor.suggest.selectionMode": "never",
"editor.autoClosingQuotes": "never",
"latex-workshop.latex.autoBuild.run": "onSave",
"git.confirmSync": false
}
Is there any idea of fix?