James-Yu / LaTeX-Workshop

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

missing auto completion of commands with () as arguments #4270

Closed DailyShana closed 1 month ago

DailyShana commented 1 month ago

Pre-checks*

Please change the following [ ] to [x] for confirmation.

  • [x] The feature request has not been suggested in this repository.

The Missed*

Is your feature request related to a problem? Please provide a clear and concise description of what the problem is.

The Solution*

Please provide a solution you would like to have.

  • ignore the arguments, just record the name of the commands. Auto completion of the commands without arguments is still useful.

Anything Else?

Add any other context about the feature request below.

James-Yu commented 1 month ago

It conflicts with the macro deduplication mechanism. Sorry to let this request down.

DailyShana commented 1 month ago

so, could you improve "macro deduplication mechanism", which seems to avoid repeated macros in cwl when parsing it? I think it can be done by update pkgcommand.py and related scripts.

@jlelong could you take a look? sorry for at you directly