slatex / sTeX-IDE

GNU General Public License v3.0
0 stars 0 forks source link

plausibility checking in the linter #31

Open kohlhase opened 1 year ago

kohlhase commented 1 year ago

It would be very good to give warnings for

Jazzpirate commented 1 year ago

Let me make this more concrete:

  1. The linter already checks that \symref takes two arguments. So it would probably be better to insist that both arguments should be braced?
  2. This is more tricky - a check that after a \symname, no braced group follows?
kohlhase commented 1 year ago
  1. probably, the most important case is where the second argument is the token
  2. yes.
kohlhase commented 1 year ago

and there should be a warning message with distinctive name, so that I can filter for that in the errors.

kohlhase commented 11 months ago

Let me upvote this issue. I keep finding errors of the type 2. which such a warning would prevent.