James-Yu / LaTeX-Workshop

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

Extension doesn't automatically itemize marked lines of items #4245

Closed Al-Christodoulou closed 3 months ago

Al-Christodoulou commented 3 months ago

Please fill the following fields with a star (*) and provide as much related information as possible.

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.

  • When selecting a bunch of lines that we want to convert to a list, the extension only adds the \item command to the first item and not the rest
  • Example:
  • Gif here

The Solution*

Please provide a solution you would like to have.

  • Make the extension automatically add the \item command to all the items
James-Yu commented 3 months ago

This is not possible under the current snippet mechanism of vscode, see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables .

You may consider filing a feature request to vscode.