JetBrains Fleet 1.33 Help

Run configuration macros

JetBrains Fleet provides a number of built-in macros, which are variables that you can use to specify various paths, options, and other command-line arguments for external tools and run configurations.

Fleet

VS Code

IJ Platform

Description

$USER_HOME$

${userHome}

-

User's home directory.

$PATH_SEPARATOR$

${pathSeparator}

-

Character that separates paths in the system.

$OS_NAME$

-

$OSName$

The simple name of the operating system.

$FILE$

${file}

$FilePath$

Path of the last file that was in focus.

$FILE_NAME$

${fileBasename}

$FileName$

Name of the last file that was in focus.

$FILE_NAME_NO_FULL_EXT$

-

$FileNameWithoutAllExtensions$

Name of the last focused file, excluding all extensions.

$FILE_NAME_NO_EXT$

${fileBasenameNoExtension}

$FileNameWithoutExtension$

Name of the last focused file, excluding the last extension.

$FILE_FULL_EXT$

-

-

Full extension(s) of the last focused file.

$FILE_EXT$

${fileExtname}

$FileExt$

Last extension of the last focused file.

$FILE_DIR$

${fileDirname}

$FileDir$

Path to the parent directory of the last focused file.

$FILE_DIR_NAME$

${fileDirnameBasename}

$FileDirName$

Name of the parent directory of the last focused file.

$SELECTED_TEXT$

${selectedText}

$SelectedText$

Selected text.

$SELECTION_START_LINE$

-

$SelectionStartLine$

Line where the selection starts.

$SELECTION_END_LINE$

-

$SelectionEndLine$

Line where the selection ends.

$SELECTION_START_COLUMN$

-

$SelectionStartColumn$

Column where the selection starts.

$SELECTION_END_COLUMN$

-

$SelectionEndColumn$

Column where the selection ends.

$LINE_NUMBER$

${lineNumber}

$LineNumber$

Caret line number.

$COLUMN_NUMBER$

-

$ColumnNumber$

Caret column number.

$CLIPBOARD_CONTENT$

-

$ClipboardContent$

Content that was copied to the clipboard.

$TEMP_DIR$

-

$TempDir$

Temporary directory root (&percent;TEMP&percent; on Windows, /tmp on Linux, TMPDIR on Mac).

$USER_NAME$

-

-

Name of the user running the task.

$WORKSPACE_NAME$

${workspaceFolderBasename}

-

Name of the current workspace.

$PROJECT_DIR_NAME$

-

$ProjectName$

Name of the parent directory of .fleet.

$WORKSPACE_DIR$

${workspaceFolder}

-

Name of the workspace directory.

$PROJECT_DIR$

-

$ProjectFileDir$

Parent directory of .fleet.

Last modified: 15 April 2024