File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ The following predefined variables are supported:
29
29
- ** ${fileDirnameBasename}** - the current opened file's folder name
30
30
- ** ${cwd}** - the task runner's current working directory upon the startup of VS Code
31
31
- ** ${lineNumber}** - the current selected line number in the active file
32
+ - ** ${columnNumber}** - the current selected column number in the active file
32
33
- ** ${selectedText}** - the current selected text in the active file
33
34
- ** ${execPath}** - the path to the running VS Code executable
34
35
- ** ${defaultBuildTask}** - the name of the default build task
@@ -53,9 +54,11 @@ So you will have the following values for each variable:
53
54
- ** ${relativeFileDirname}** - ` folder `
54
55
- ** ${fileBasename}** - ` file.ext `
55
56
- ** ${fileBasenameNoExtension}** - ` file `
56
- - ** ${fileDirname}** - ` /home/your-username/your-project/folder `
57
57
- ** ${fileExtname}** - ` .ext `
58
+ - ** ${fileDirname}** - ` /home/your-username/your-project/folder `
59
+ - ** ${fileDirnameBasename}** - ` folder `
58
60
- ** ${lineNumber}** - line number of the cursor
61
+ - ** ${columnNumber}** - column number of the cursor
59
62
- ** ${selectedText}** - text selected in your code editor
60
63
- ** ${execPath}** - location of Code.exe
61
64
- ** ${pathSeparator}** - ` / ` on macOS or linux, ` \ ` on Windows
You can’t perform that action at this time.
0 commit comments