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
98 stars 35 forks source link
command-line commandline-arguments productivity-booster visual-studio visual-studio-extension

Smart Command Line Arguments

A Visual Studio Extension which aims to provide a better UI to manage your command line arguments, environment variables, working directory, and launch app.

"The only smart way to pass standard command arguments to programs." - A happy user

Install

Install the extension inside Visual Studio or download it from the Visual Studio Marketplace:

Visual Studio 2017, 2019 and 2022 and the following project types are supported:

If you're using Cmake make sure to read the Cmake support wiki page.

Usage

Open the window via:
View → Other Windows → Command Line Arguments

The extension must be enabled manually from within the extension window when opening a solution for the first time. This behaviour can be chnaged via the Options. The extension can be disabled via the Settings.
If the extions is enabled it controls command line arguments, environment variables, working directory, and/or the launch app depending on the 'Manage *' settings/options. The project/launch configuration is changed every time items are changed in the extension window or the program is launched.

Interface

Window

Settings

If the checkboxes are filled with a square the default value is used. The default value for these settings can be configured under Tools → Options → Smart Commandline Arguments → Settings Defaults.

Options

Options can be found at Tools → Options → Smart Commandline Arguments.

General

Appearance

Cleanup

Settings Defaults

This contols the default behaviour for Settings

Hotkeys

Paste

There are three ways to paste items into the list, drag'n'drop, CTRL-V, and the context menu.
There are also three different types of data which can be pasted:

  1. Prevously copied or cut items.
  2. Files, here a argument with the full file path is created for each file in the clipboard.
  3. Text, where every line is a new argument. (Groups can also be represented, by a line ending with a :. Nested groups are done by indenting with a tab.)

Context Menu

Group Context Menu Item Context Menu

Donation

If you like this extension you can buy us a cup of coffee or a coke! :D

Donate via PayPal