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's home directory. |
|
|
| Character that separates paths in the system. |
|
|
| The simple name of the operating system. |
|
|
| Path of the last file that was in focus. |
|
|
| Name of the last file that was in focus. |
|
|
| Name of the last focused file, excluding all extensions. |
|
|
| Name of the last focused file, excluding the last extension. |
|
|
| Full extension(s) of the last focused file. |
|
|
| Last extension of the last focused file. |
|
|
| Path to the parent directory of the last focused file. |
|
|
| Name of the parent directory of the last focused file. |
|
|
| Selected text. |
| - |
| Line where the selection starts. |
| - |
| Line where the selection ends. |
| - |
| Column where the selection starts. |
| - |
| Column where the selection ends. |
|
|
| Caret line number. |
| - |
| Caret column number. |
| - |
| Content that was copied to the clipboard. |
| - |
| Temporary directory root ( |
| - | - | Name of the user running the task. |
|
| - | Name of the current workspace. |
| - |
| Name of the parent directory of .fleet. |
|
| - | Name of the workspace directory. |
| - |
| Parent directory of .fleet. |