James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.42k stars 519 forks source link

Autocompletion of custom \knowledgenewrobustcmd commands not working #4309

Closed dfigueira closed 1 week ago

dfigueira commented 1 week ago

In the context of the knowledge package, one can define custom commands using \knowledgenewrobustcmd (with the same syntax as \newcommand or \newrobustcmd).

Autocompletion does not work for \knowledgenewrobustcmd custom commands, and it would be great if you could extend its usage to \knowledgenewrobustcmd definitions as well!

(similar to #4303 but for \knowledgenewrobustcmd)

James-Yu commented 1 week ago

You can define the macros in latex-workshop.intellisense.command.user. We cannot support all packages of LaTeX unfortunately.