MBulli / SmartCommandlineArgs

A Visual Studio Extension which aims to provide a better UI to manage your command line arguments
GNU General Public License v2.0
99 stars 35 forks source link

Exclusive mode metadata is not preserved when copy-pasting to+from a text document #164

Open desruie opened 11 months ago

desruie commented 11 months ago

Steps to reproduce the bug:

  1. Configure command-line arguments to use exclusive mode.
  2. Select all command-line arguments.
  3. Copy (CTRL+C)
  4. Paste (CTRL+V) into a text editor
  5. Select all text in the text editor
  6. Copy (CTRL+C)
  7. Paste (CTRL+V) into the command-line arguments tool
  8. Exclusive mode is lost

It would be nice if exclusive mode was represented with some special character in the pasted text so that it is preserved when pasted back.

Irame commented 8 months ago

Hi, thanks for using the extension and opening this issue.

I thought about removing the special paste functionality for a while now. It treats : and \t special and could therefore lead to unintended results when pasting some random text, that happens to have those characters in it.

Maybe I will rework this feature in the future and add an option to disable it completely or something like this. Then we would have more freedom to add additional special characters because people could just opt out if it annoys them.