Workspaces and profiles

Workspace actions

Give a workspace custom actions of its own, such as a deploy script for one project, that appear only while that workspace is active.

Custom actions run your own scripts, apps and commands on the selected files. Most are useful everywhere. Some only make sense for one project: a script that deploys the orbit-agent service, or one that runs that project's evaluation. Elsewhere they would only clutter your menus, or run in the wrong place.

Workspace actions solve this. An action created for a workspace appears only while that workspace is active.

Two Actions pages

Settings has two Actions pages:

  • APPLICATION ▸ Actions: actions available in every workspace. The page says "These actions are available in every workspace."
  • WORKSPACE ▸ Actions: actions for the workspace named in the workspace menu of the Settings sidebar. The page says "These actions run only while “‹name›” is the active workspace."

Each page has a link to the other: Actions for one workspace… and Actions for every workspace….

Both pages work the same way: the same list, the same editor, Test Action, Import… and Export…. How to build an action is explained in Custom actions.

Create a workspace action

  1. Choose Vektor ▸ Settings… (⌘,).
  2. In the WORKSPACE group, make sure the workspace menu names the right workspace, then click Actions.
  3. Click New Action, set it up and click Save Changes.
Settings, a workspace's own Actions page with two actions.
Settings, a workspace's own Actions page with two actions.

An action created on this page belongs to this workspace. An action you import on this page also belongs to it.

If the workspace you are editing is not the active one, the page says "Not the active workspace — they are available when you switch to it." Test Action then explains that it can only test in the active workspace.

Where workspace actions appear

While the workspace is active, its actions and the actions for every workspace appear together, in the file and folder context menus, in the pane toolbar's actions button and in the command palette. The same rules decide when each one is offered. See Where actions appear.

When you switch to another workspace, its actions replace them at once. An action of a workspace that is no longer active never runs, not even from a menu that was open before the switch.

A workspace action and an action for every workspace can have the same name. Where both are listed, the workspace's action carries the workspace name in brackets, for example "Deploy (Orbit)". In the command palette, a workspace action is marked Workspace next to its category.

Move or copy an action

In an action's options menu (the button at the end of its row):

  • Move to Workspace…: make it an action of another workspace.
  • Move to All Workspaces: make a workspace action available everywhere.
  • Copy to Workspace…: give another workspace its own copy, with the same name.

If the move or copy would leave an action sequence with a step it can no longer reach, Vektor Commander says which one and asks before going ahead.

You can move and copy actions only between workspaces of the active profile.

Deleting a workspace deletes its actions

When you delete a workspace that has actions, the confirmation says how many will be deleted with it, and a backup of your configuration is written first. The same goes for deleting a profile. See Delete a workspace.

Export and import

  • Export… on a page saves that page's actions to a file. The file does not say which workspace they came from.
  • Import… on a page adds the actions from a file to that page: to the workspace, or to every workspace.
  • A configuration export from Settings ▸ Advanced keeps every action together with the workspace it belongs to.

Imported actions that run scripts or apps ask before their first run. See Imported actions ask first.

© 2026 Vektor Commander