Skip to content
PluginStats

Command Variable installs statistics

By rioj7 · VS Code Marketplace · Other

Calculate command variables for launch.json and tasks.json

View on VS Code Marketplace Fresh · Oct 18, 2026

Command Variable has 167,420 recorded installs on VS Code Marketplace.

It ranks #1730 of 2,500 tracked VS Code Marketplace listings by installs.

It is rated 4.8 out of 5 from 18 ratings.

PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.

Installs
167,420
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1730
Among tracked VS Code Marketplace listings

Rating: 4.78 / 5 from 18 ratings

About Command Variable

Command Variable

Visual Studio Code provides variable substitution to be used in launch.json and tasks.json.

One of the variables allows the result of a command to be used with the following syntax: ${command:commandID}

If a command or variable is almost what you need you can use the transform command to perform a regular expression find-replace of the result.

Not all commands are supported yet in the web extension version. Supported commands are marked with : (Web)

Some commands can store/remember the result to be retrieved later in the session. If you want persistent storage have a look at the commandvariable.remember.persistent.file setting.

Table of contents

• Commands • Usage • Configuration / Settings • FileAsKey • File Content • File Content Key Value pairs • File Content JSON Property • File Content YAML Property • File Content Multiple Key-Values/Properties • File Content in Editor • Config Expression • JavaScript Expression • Pick File • Open Dialog • Save Dialog • number • remember • pickStringRemember • promptStringRemember • Multicursor and text • inTerminal • getClipboard • setClipboard • Transform • Transform::saveToFile • Variables • Variable Filters • Variables in Javascript expression • ${workspaceFolder} • ${workspaceFolderBasename} • ${selectedText} • ${pickStringRemember} • ${promptStringRemember} • ${pickFile} • ${openDialog} • ${saveDialog} • ${command} • ${transform} • ${remember} • checkEscapedUI • Workspace name in argument • UUID • dateTime • Credits

Commands

This extension provides a number of commands that give a result based on the current file or the workspace path or that produce a result based on arguments

• extension.commandvariable.file.relativeDirDots : The directory of the current file relative to the workspace root directory with dots as separator. Can be used to specify a Python module. • extension.commandvariable.file.relativeFileDots : The same result as ${relativeFile} but with dots as separator. • extension.commandvariable.file.relativeFileDotsNoExtension : The same result as ${relativeFile} but with dots as separator and no file extension. Can be used to specify a Python module. • extension.commandvariable.file.filePosix : The same result as ${file} but in Posix form. Directory separator '/', and drive designation as '/z/project/' • extension.commandvariable.file.fileDirnamePosix : The same result as ${fileDirname} but in Posix form. • extension.commandvariable.file.fileDirname1Up : The directory path 1 Up of ${fileDirname} • extension.commandvariable.file.fileDirname2Up : The directory path 2 Up of ${fileDirname} • extension.commandvariable.file.fileDirname3Up : The directory path 3 Up of ${fileDirname} • extension.commandvariable.file.fileDirname4Up : The directory path 4 Up of ${fileDirname} • extension.commandvariable.file.fileDirname5Up : The directory path 5 Up of ${fileDirname} • extension.commandvariable.file.fileDirname1UpPosix : The same result as ${extension.commandvariable.file.fileDirname1Up} but in Posix form. • extension.commandvariable.file.fileDirname2UpPosix : The same result as ${extension.commandvariable.file.fileDirname2Up} but in Posix form. • extension.commandvariable.file.fileDirname3UpPosix : The same result as ${extension.commandvariable.file.fileDirname3Up} but in Posix form. • extension.commandvariable.file.fileDirname4UpPosix : The same result as ${extension.commandvariable.file.fileDirname4Up} but in Posix form. • extension.commandvariable.file.fileDirname5UpPosix : The same result as ${extension.commandvariable.file.fileDirname5Up} but in Posix form. • extension.commandvariable.file.relativeFileDirname1Up : The directory path 1 Up of ${relativeFileDirname} • extension.commandvariable.file.relativeFileDirname2Up : The directory path 2 Up of ${relativeFileDirname} • extension.commandvariable.file.relativeFileDirname3Up : The directory path 3 Up of ${relativeFileDirname} • extension.commandvariable.file.relativeFileDirname4Up : The directory path 4 Up of ${relativeFileDirname} • extension.commandvariable.file.relativeFileDirname5Up : The directory path 5 Up of ${relativeFileDirname} • extension.commandvariable.file.relativeFileDirnamePosix : The same result as ${relativeFileDirname} but in Posix form. • extension.commandvariable.file.relativeFileDirname1UpPosix : The same result as ${extension.commandvariable.file.relativeFileDirname1Up} but in Posix form. • extension.commandvariable.file.relativeFileDirname2UpPosix : The same result as ${extension.commandvariable.file.relativeFileDirname2Up} but in Posix form. • extension.commandvariable.file.relativeFileDirname3UpPosix : The same result as ${extension.commandvariable.file.relativeFileDirname3Up} but in Posix form. • extension.commandvariable.file.relativeFileDirname4UpPosix : The same result as ${extension.commandvariable.file.relativeFileDirname4Up} but in Posix form. • extension.commandvariable.file.relativeFileDirname5UpPosix : The same result as ${extension.commandvariable.file.relativeFileDirname5Up} but in Posix form. • extension.commandvariable.file.relativeFilePosix : The same result as ${relativeFile} but in Posix form. • extension.commandvariable.file.fileAsKey : Use part of the file path as a key in a map lookup. Can be used in lauch.json to select arguments based on filename, see example. • extension.commandvariable.file.fileDirBasename : (Web) The basename of the ${fileDirname} • extension.commandvariable.file.fileDirBasename1Up : (Web) The directory name 1 Up of ${fileDirname} • extension.commandvariable.file.fileDirBasename2Up : (Web) The directory name 2 Up of ${fileDirname} • extension.commandvariable.file.fileDirBasename3Up : (Web) The directory name 3 Up of ${fileDirname} • extension.commandvariable.file.fileDirBasename4Up : (Web) The directory name 4 Up of ${fileDirname} • extension.commandvariable.file.fileDirBasename5Up : (Web) The directory name 5 Up of ${fileDirname} • extension.commandvariable.file.content : The content of the…

Description from the VS Code Marketplace listing.

  • clipboard
  • command
  • date
  • file
  • key
  • launch
  • multi-root ready
  • number
  • pick
  • remember
  • tasks
  • uuid
  • value
  • variable

Where Command Variable sits in the listing

Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All VS Code Marketplace2,500 listings · 125 pages · page 87, #10 (overall #1730)
All VS Code Marketplace: every listing in installs order
PNG SVG
Other761 listings · 39 pages · page 27, #6 (overall #526)
Other: every listing in installs order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Command Variable installs on VS Code Marketplace, last 90 days: 167,420 installs as of Oct 18, 2026.Command VariableInstalls on VS Code Marketplace · Last 90 days167,420installs167.3K167.3K167.4K167.4K167.4K167.4KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Command Variable installs on VS Code Marketplace, last 90 days: 167,420 installs as of Oct 18, 2026.
PNG SVG

7/30/90-day growth

Command Variable installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Command VariableInstalls growth on VS Code Marketplace167,420installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
Command Variable installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

Command Variable VS Code Marketplace ranking history: currently #1730 (by installs).Command VariableVS Code Marketplace ranking · by installs · Last 90 days#1730current rank#1727#1728#1729#1730#1731#1732Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
Command Variable VS Code Marketplace ranking history: currently #1730 (by installs).
PNG SVG

Ratings over time

Command Variable ratings on VS Code Marketplace, last 90 days: 18 ratings as of Oct 18, 2026.Command VariableRatings on VS Code Marketplace · Last 90 days18ratings1616.51717.51818.51919.520Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Command Variable ratings on VS Code Marketplace, last 90 days: 18 ratings as of Oct 18, 2026.
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (3)
Recent installs observations for Command Variable
Date (UTC)InstallsChange vs. previous
167,420+40
167,380+56
167,324—

Similar VS Code Marketplace Other plugins

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=rioj7.command-variable. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.