Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tasks HereNew to Visual Studio Code? Get it now.

Tasks Here

alexzshl

|
321 installs
| (1) | Free
Load VSCode Tasks to Status Bar
This extension is now unpublished from Marketplace. You can choose to uninstall it.

Tasks Here

version

Load VSCode tasks into status bar.

Notice: version 3.0.0 starts to use the new configuration form in tasks.json, the previous users please try to migrate.

Derived

Derived from VSCode extension - actboy168.tasks and based on v0.2.7.

Preview

preview

Features

  • Load VSCode tasks into status bar
  • Customize the name of the task-bar
  • Customize the name with VSCode builtin icons
  • Customize the color of the task-bar

Configuration - tasks.json

For ease of configuration,this extension personalize tasks with tasks.json.

If you want to hide a task, add a configuration in tasks.json:

[options-tasksHere-display]

        {
            "type":"shell",
            "label":"test",
            "command": "echo",
            "args": [
                "arg1"
            ],
            "options": {
                "tasksHere": {
                    "display": false
                }
            }
        }

If the task label is too long to fit for display and you don't want to modify it, you can customize a name for task-bar by add a configuration in tasks.json:

[options-tasksHere-name]

        {
            "type":"shell",
            "label":"g++.exe build active file",
            "command": "g++",
            "args": [
                "-g",
                "${file}",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe"
            ],
            "options": {
                "tasksHere": {
                    "name": "g++"
                }
            }
        }

You can "add" one or more built-in icons to the name of task-bar with a special syntax, which will appear as an icon on the status bar:

[options-tasksHere-name]

        {
            "type":"shell",
            "label":"test",
            "command": "echo",
            "args": [
                "arg1"
            ],
            "options": {
                "tasksHere": {
                    "name": "$(squirrel) test"
                }
            }
        }

icon-in-label

The list of built-in icons provided by VSCode on this page: icons-in-labels.

You can specify the color of task-bar with color expressions supported by CSS. For example: "DeepPink", "#00f", "#adff2f".Or use the color picker to select color directly.The color of icon will change as well.

[options-tasksHere-color]

       {
            "type": "shell",
            "label": "cpp.exe build active file",
            "command":"C:\\MinGW64\\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\\mingw64\\bin\\cpp.exe",
            "args": [
                "-g",
                "${file}",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe"
            ],
            "options": {
                "cwd": "C:\\MinGW64\\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\\mingw64\\bin",
                "tasksHere": {
                    "name": "cpp",
                    "color": "#ff00ff"
                }
            }
        }

label_color

label_color

Settings

Configuration with VSCode settings:

  • taskshere.on - Enable/Disable the extension
  • taskshere.display - If you have too many tasks, you can set it to false, then display the tasks you want to display by configuring tasks.json
  • taskshere.color - Global color for task-bar

Commands

The following commands are provided, which can be accessed from the command palette (F1), or bound to keys:

  • taskshere.refresh - reload tasks into status bar
  • taskshere.on
  • taskshere.off
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft