A Visual Studio Extension which aims to provide a better UI to manage your command line arguments
Install the extension inside Visual Studio or download it from the Visual Studio Marketplace.
Visual Studio 2015 and 2017 and the following project types are supported:
- C#
- VB.Net
- C/C++
- Node.js
- Python (requires a nightly build of PTVS)
If you're using Cmake make sure to read the Cmake support wiki page.
Open the window via:
View → Other Windows → Commandline Arguments
If the Window is open or minimized the commandline arguments should not be edited via the project properties.
Changes which are made in the window are applied to all project configurations (Release/Debug etc.) of the current startup project.
The extension stores the commandline arguments inside a json file at the same location as the related project file.
If this new behavior is not welcomed one can fallback to the 'old' mode where the commandline arguments have been stored inside the solutions .suo-file:
Tools → Options → Smart Commandline Arguments → General → Enable version control support
: Add new line
: Remove selected lines
/ : Move selected lines
: * Copy command line to clipboard. In the example below, the string -f input_image.png -l latest.log -o out_image.png
is copied to the clipboard.
CTRL+↑ / CTRL+↓: Move selected items.
Space: Disable/Enable selected items.
Delete: Remove selected items.
Insert: Add a new item.
Alt+Enable/Disable Item: Disable all other Items (useful if only one item should be enabled).