Is your feature request related to a problem? Please describe.
Commands like \footnote and \todo have hard-coded behavior, where they are excluded from the sentence being checked but also their argument is checked separately.
I define a number of custom TODO commands like \todoTypeset, \todoConsistency, etc., for different categories of TODOs. Currenetly there's no way to get those to be treated similarly.
Describe the solution you'd like
The values in ltex.latex.commands include something like separate, which allows any arbitrary command to be treated like \footnote. Then I could just specify all my custom TODO commands there.
Describe alternatives you've considered
Currently I've had to resort to using ignore for them in ltex.latex.commands instead, but that means their arguments are not actually being checked, which is a problem.
Additional context
This exact thing was requested for LTeX in the past here: valentjn/vscode-ltex#254, but the issue was just closed due to some misconfiguration and misunderstanding.
I think it still makes sense to offer such customizability, because LTeX+ isn't ever going to hard-code my custom TODO commands for obvious reasons.
Is your feature request related to a problem? Please describe.
Commands like
\footnoteand\todohave hard-coded behavior, where they are excluded from the sentence being checked but also their argument is checked separately.I define a number of custom TODO commands like
\todoTypeset,\todoConsistency, etc., for different categories of TODOs. Currenetly there's no way to get those to be treated similarly.Describe the solution you'd like
The values in
ltex.latex.commandsinclude something likeseparate, which allows any arbitrary command to be treated like\footnote. Then I could just specify all my custom TODO commands there.Describe alternatives you've considered
Currently I've had to resort to using
ignorefor them inltex.latex.commandsinstead, but that means their arguments are not actually being checked, which is a problem.Additional context
This exact thing was requested for LTeX in the past here: valentjn/vscode-ltex#254, but the issue was just closed due to some misconfiguration and misunderstanding.
I think it still makes sense to offer such customizability, because LTeX+ isn't ever going to hard-code my custom TODO commands for obvious reasons.