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

Have an option either per argument line or as a whole to not automatically add a whitespace between arguments. #107

Closed F4w4r closed 2 years ago

F4w4r commented 3 years ago

Working with Unreal 4 this tool is super useful, but unreal has a way of doing things... that sometimes makes it a bit painful.

See this image

Sometimes UE4's parser need the params to be in one big bundle and they use ? or , to separate items.

But if I leave ?Listen when it's not needed stuff won't even boot. So I end up also having this one image

If we could "aggregate" arguments without implicit whitespace between them, then I could have the following and simply activate my configuration instead of having every single configuration be fully defined in a single line

image

gamagan commented 3 years ago

I second this! My usecase is similar. Sometimes, I want to have a switch that can take different options. It would be nice to have the switches in 1 entry, and the options separately. Currently, that's not possible because of the whitespace inserted.

image

Currently, they have to be like this: image

Irame commented 2 years ago

In the coming version there will be an option per group (and project) to disable the space delimiter. This delimiter will be saved in the JSON-file, so you have the option to set any delimiter you wish there (eg. "Delimiter": "?"). In the future we probably provide the option to set any delimiter via the extension window.

F4w4r commented 1 year ago

Nevermind, it works on 2.5 but did not on 2.3

_@Irame It seems this feature is gone in VS 2022 ?

There is no menu entry to edit the delimiter and if I am to put it inside the args.json manually it gets overriden._