texstudio-org/texstudio

xargs commands with more than one optional argument are not recognized as optional

開放

#2,314 建立於 2022年5月8日

 (5 則留言) (0 個反應) (0 位負責人)C++ (397 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (3,516 顆星)
PR 合併指標
 (平均合併 5小時 26分鐘) (30 天內合併 19 個 PR)

描述

Environment

  • TeXstudio: VERSION 4.2.3 (git 4.2.3)
  • Qt: 6.3.0 R
  • OS: Windows 10 Pro
  • TeX distribution: MiKTeX-pdfTeX 4.10 (MiKTeX 22.1)

Desired behavior

Using xargs to create a command with more than one optional argument, TexStudio recognizes that those are optional arguments and autocompletes the command as such.

Current behavior

image The command is used as if those arguments were not optional and thus the command doesn't read those arguments at all (since they should be enclosed by [] instead of {}).

How to reproduce

Create a command with more than one optional argument using xargs.

貢獻者指南