James-Yu / LaTeX-Workshop

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

wrong parenthesis at autocomplete #1852

Closed 7be closed 4 years ago

7be commented 4 years ago

Preliminary questions [Required]

Disable all the other extensions except for LaTeX Workshop, and check that you still see this issue. [Required]

You still see this issue?: Yes

Make sure to visit the wiki FAQ before filling an issue.

You visited the wiki?: Yes

If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.

You can compile a TeX document manually?: Yes

Describe the bug [Required]

Hi all,

while using the latex extension, which in my opinion includes Intellisense I have an autocomplete probleme: typing \todo it autocompletes \todo{}{} which makes no sense. correct would be \todo[]{}. I found no way to customize it. My favority would be to have it autocomplete to \todo[inline]{}. Is there a file, where I can change the suggestions? Thanks

To Reproduce

Steps to reproduce the behavior:

  1. Go to random .tex file
  2. Click on : type \tod
  3. See error

Expected behavior

to produce \todo[]{}

Logs [Required]

no log for this issue

LaTeX Workshop Output [Required]

not necessary here

Developer Tools Console [Required]

not necessary here

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop [Required]

OS version: Windows_NT x64 10.0.18362

Additional questions

Are you using LaTeX Workshop with VS Code Remote?

No

If the answer is Yes, please write which one you are using. Write the versions of the remote extension.

Additional context

Add any other context about the problem here.

jlelong commented 4 years ago

I cannot reproduce the issue. Please post a minimal working example.

jlelong commented 4 years ago

The issue does not contain enough information to investigate the problem. I am closing it until more information is provided.