Closed kevinbbbb closed 1 month ago
You need to exit snippet editing mode by pressing esc, or it might be a vscode issue.
You may post the bugged macro in your generated json file for further debug, though I suspect it may not be related.
I'm not sure what you mean by snippet editing mode. Could you please explain?
I updated my initial comment. Apparently, it's only the unstarred command like \pdv{}{}
that are affected. Intellisense within the starred commands (e.g. \pdv*{}{}
) works perfectly fine. Unfortunately, it's not a solution to use the starred commands as they produce different outputs.
I had a look in the .JSON
but I can't find a flaw. Here are the macros for \pdv{}{}
and \pdv*{}{}
from the .JSON
(I inserted dots where other macros are defined):
...
"pdv{}{}": {
"snippet": "pdv{${1:function}}{${2:variables}}"
},
...
"pdv*{}{}": {
"snippet": "pdv*{${1:function}}{${2:variables}}"
},
...
Pre-checks*
Environment*
The Issue*
Reproduction Steps
Expected Behavior
Logs
LaTeX Workshop Output*
Developer Tools Console
Overwriting grammar scope name to file mapping for scope text.tex.latex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json. New grammar file: file:///home/kevin/.vscode/extensions/james-yu.latex-workshop-10.1.0/syntax/LaTeX.tmLanguage.json
Overwriting grammar scope name to file mapping for scope text.bibtex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json. New grammar file: file:///home/kevin/.vscode/extensions/james-yu.latex-workshop-10.1.0/syntax/Bibtex.tmLanguage.json
Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json. New grammar file: file:///home/kevin/.vscode/extensions/james-yu.latex-workshop-10.1.0/syntax/markdown-latex-combined.tmLanguage.json
Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json. New grammar file: file:///home/kevin/.vscode/extensions/james-yu.latex-workshop-10.1.0/syntax/cpp-grammar-bailout.tmLanguage.json