James-Yu / LaTeX-Workshop

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

missing commands for completion of package tkz-euclide #4257

Closed DailyShana closed 4 months ago

DailyShana commented 5 months ago

I find many command in tkz-euclide doesn't have a completion. I compare the content of https://github.com/James-Yu/LaTeX-Workshop/blob/d82ba4951aa606185d12fb6e02ef871bb330af3d/data/packages/tkz-euclide.json and https://github.com/texstudio-org/texstudio/blob/337e247ecb1b609b5eb07b3a319973c55d6fd4d0/completion/tkz-euclide.cwl. I find the json generated here missing many command: image image

James-Yu commented 4 months ago

We don't parse commands with () as arguments. It will cause more trouble in auto-suggestion than convenience.

DailyShana commented 4 months ago

if it's hard to parse arguments in (), just record the name of the commands. Hint of the command without arguments is still useful.