UiPath Documentation
maestro-automate
latest
false
Maestro Automate user guide

VS Code extension

Every command, keyboard shortcut, and setting of the UiPath extension for VS Code, and the fixes for sign-in and other common problems.

This page lists what the UiPath extension for Visual Studio Code (VS Code) offers: its commands, keyboard shortcuts, settings, and fixes for common problems. Build in VS Code describes how to install the extension and sign in.

Commands and keyboard shortcuts​

Run any command from the Command Palette (Ctrl/Cmd+Shift+P). The workflow editor shortcuts apply only when a .flow file is the active editor.

Workflow editor​

CommandDefault keybinding
Flow: New FlowCtrl/Cmd+Alt+N
Flow: Open FlowCtrl/Cmd+Alt+O
Flow: Save FlowCtrl/Cmd+S
Flow: Save Flow AsCtrl/Cmd+Shift+S
Flow: UndoCtrl/Cmd+Z
Flow: RedoCtrl+Y / Cmd+Shift+Z
Flow: Zoom InCtrl/Cmd+=
Flow: Zoom OutCtrl/Cmd+-
Flow: Reset ZoomCtrl/Cmd+0
Flow: Fit to ScreenCtrl/Cmd+Shift+F
Flow: Validate FlowCtrl/Cmd+Shift+V
Flow: Export FlowNone

UiPath platform​

CommandDescription
UiPath: Sign InSign in to UiPath.
UiPath: Sign OutSign out and clear the cached session.
UiPath: Select EnvironmentChoose the UiPath environment.
UiPath: Select TenantChoose the tenant or organization.
UiPath: Create New ProjectAdd a project to the solution. Choose Data Fabric to create an entity project.
UiPath: New FileAdd a file to a project. Choose Entity File to add an entity.
UiPath: Add Entity FileAdd another entity to an existing entity project. Available once the solution has one.
UiPath: PackageBuild a .uipx solution from the workspace.
UiPath: DeployUpload a packaged solution to UiPath Automation Cloud.
UiPath: Package & DeployPackage and deploy in one step.
UiPath: Switch Deploy TargetChange the destination folder.
UiPath: Generate .env FileWrite an .env file that the UiPath CLI can read.
UiPath: RefreshRefresh the Connect tree.
UiPath: Show Output LogOpen the UiPath output channel.
UiPath: Getting StartedOpen the Getting Started walkthrough.

Settings​

Configure the extension in VS Code settings.

uipath.environment​

The UiPath environment used when signing in. Default is cloud. An existing CLI session takes precedence if it points elsewhere.

uipath.autoActivateDeployment​

Activates a solution deployment after a successful deploy. Default is true.

uipath.cli.path​

The full path to the UiPath command-line tool (uip). Leave it empty to let the extension find uip in the locations that your terminal searches, which are listed in the PATH setting of your computer. Set this when the tool is installed somewhere else.

uipath.telemetry.enabled​

Sends anonymized usage telemetry. Default is true. The extension also honors VS Code's global telemetry.telemetryLevel. Turning off either setting disables telemetry.

Troubleshooting​

Sign-in fails​

Sign-in fails when port 8104 is in use or the UiPath command-line tool lost its session.

  • Port in use. Sign-in sends its result to port 8104 on your own computer (localhost). If another program holds it, free the port and sign in again. On macOS or Linux, run lsof -ti :8104 | xargs kill -9. On Windows, run netstat -ano | findstr :8104, then taskkill /F /PID <id>.
  • Stale session. Run UiPath: Sign Out, then UiPath: Sign In again to force a fresh sign-in.
  • Read the log. Run UiPath: Show Output Log and check the UiPath output channel for sign-in errors.

The CLI isn't found​

The UiPath Maestro view shows "The UiPath CLI isn't installed, so run, debug and publish aren't available yet." You can still build on the canvas, but you can't run, debug, or deploy until the CLI is found.

The extension runs uip in the background. If it cannot find the tool, sign-in and packaging fail.

  1. Confirm the CLI is installed by running uip --version in a terminal.
  2. If uip is not in a location that your terminal searches (the PATH setting), set uipath.cli.path to its full path.
  3. If the CLI isn't installed at all, run UiPath: Sign In and accept the install prompt, or install it manually with npm install -g @uipath/cli. This requires Node.js and npm to be installed.

Remote workspaces don't see the CLI​

In Windows Subsystem for Linux (WSL), SSH, Codespaces, and dev container workspaces, the extension runs on the remote host, not your local machine. The uip binary must be installed on that host. A CLI installed on your local Windows or macOS machine isn't visible to the extension. Install the CLI in the remote workspace, then sign in again.

Deployment doesn't activate​

By default, the extension activates a deployment after a successful deploy. If a deployment uploads but doesn't activate, confirm that uipath.autoActivateDeployment is turned on.

Next steps​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated