Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Elegovate RemoteNew to Visual Studio Code? Get it now.
Elegovate Remote

Elegovate Remote

Preview

Elegovate

|
1 install
| (0) | Free
Run your VS Code tasks from your iPhone and follow their output. Read files and use Git too. Mac to iPhone, encrypted, on your own network.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Elegovate Remote

Start a task in VS Code from your iPhone, follow its output, and open an error at its line on your Mac. Read the files of the workspace and use Git from the same app.

From your iPhone

  • Run the tasks you allow and follow their output live, with the problems VS Code reports.
  • Open the file of a problem at its line, on your Mac.
  • Browse and search the files of the workspace, read only.
  • Use Git: changes and diffs, stage and commit, branches, pull and push.
  • If you turn them on: a terminal, editing, Run and Debug, and a short list of VS Code commands.
  • Away from home, through your own Tailscale network.

Your Mac decides

  • Pairing needs no account: a QR code that works once, and a code you compare on both screens.
  • Your Mac and iPhone talk to each other directly, encrypted between the two. Your code and its output never go through Elegovate.
  • Your iPhone runs no task until you allow it. The terminal, editing and debugging stay off until you turn them on, on the Mac.
  • Push, pull, switching branch, discarding changes and opening the terminal need Face ID or the passcode on your iPhone.
  • What your iPhone runs or changes is written to an activity log on your Mac, kept for 90 days.

Get started

  1. Get Elegovate Remote for iPhone. The iPhone app is in testing and isn't on the App Store yet.
  2. In VS Code, run Remote: Pair iPhone… and scan the code with the app.
  3. Run Remote: Choose Tasks for iPhone… to pick what your iPhone can run.

What you need

  • A Mac with VS Code 1.149 or later, and an iPhone with iOS 18 or later.
  • Your Mac and iPhone on the same Wi-Fi, or on your own Tailscale network.
  • A workspace you trust.
  • A local VS Code window. Windows connected over Remote SSH, Dev Containers or Codespaces, and other editors built on VS Code, are not supported.

Privacy · Terms

Pair an iPhone

  1. In VS Code, open the Command Palette and run Remote: Pair iPhone…. A panel shows a QR code. It works once and closes after two minutes, or when you close the panel.
  2. On the iPhone, open Remote and scan the code. If iOS asks for Local Network access, allow it: without it the iPhone cannot see your Mac.
  3. VS Code asks Pair "name"? and shows a code. Choose Pair only if the same code shows on the iPhone. If it does not match, choose Cancel, because someone else may have the QR code.

To see or remove the phones you paired, run Remote: Paired Devices…. Revoking a phone removes it from the Mac, and the phone is told so the next time it connects. Revoke All and Reset Mac Key… removes every phone and makes a new key for this Mac, so every phone has to pair again.

One Mac can have several VS Code windows. Each window listens on its own port and shows up on the iPhone as its own workspace under the name of your Mac.

Commands

Command What it does
Remote: Pair iPhone… Shows the QR code to pair an iPhone with this window.
Remote: Paired Devices… Lists the paired phones, says which are connected, and revokes one or all of them.
Remote: Choose Tasks for iPhone… Picks which tasks the iPhone may run. By default it may run none.
Remote: Show Remote Activity Opens the activity log of this month (see Reading the activity log).
Remote: Pause Remote and Resume Remote Stops this window from listening, and starts again. Pausing is per window.
Remote: Cut iPhone Terminal Ends the command that is running and closes the terminal named iPhone, even when no phone holds it.

The status bar shows iPhone: n with the number of connected phones when at least one is paired (click it to open Paired Devices), Remote paused while paused, and iPhone terminal on while the terminal named iPhone exists (click it to cut the terminal).

Settings

All of these are user settings. They have the scope application, so a .vscode/settings.json inside a repository cannot set them. allowTerminal, allowEdit, allowDebug, commandAllowlist and listenOnTailscale count only when they are true in your own user settings.

Setting Default What it does
elegovateRemote.enabled on Listens for paired iPhones on the local network. It only listens once a phone is paired.
elegovateRemote.shareTerminals off Shares the output of the terminals you have open, read only.
elegovateRemote.allowFiles on Lets the iPhone browse and read the files of the workspace, read only.
elegovateRemote.showSensitiveFiles off Also shows files that usually hold secrets (see Files).
elegovateRemote.allowGit on Lets the iPhone see Git state, branches and history and change them, through VS Code's Git extension.
elegovateRemote.allowTerminal off Lets the iPhone run commands in a terminal named iPhone. Read the warning in Terminal first.
elegovateRemote.allowEdit off Lets the iPhone edit the text files of the workspace. As strong as the terminal: read Editing first.
elegovateRemote.allowDebug off Lets the iPhone see and control Run and Debug: start, stop, restart, console, stack, variables. Read Run and Debug first.
elegovateRemote.commandAllowlist 7 ids The VS Code commands the iPhone can run from its Command Palette (see Command Palette).
elegovateRemote.listenOnTailscale off Also listens on the Tailscale addresses of this Mac.

When you change a setting while a phone is connected, the phone is told and updates what it offers.

Tasks and problems

The iPhone can run only the tasks you allowed with Choose Tasks for iPhone…, and only one phone started run per workspace at a time. It shows the output live, the problems VS Code reports, and a snippet around each problem. It can ask the Mac to open the file at the line of a problem. It never sends a path: it asks with an id the Mac gave it. A phone can start at most 6 runs a minute.

Files

With allowFiles on, the iPhone can browse folders, read text files and search by name or by text. It cannot write, rename or delete.

  • Paths are relative to the workspace. The Mac refuses an absolute path, .., anything hidden by VS Code (.git, node_modules, files.exclude), and any file whose real path is outside the workspace, so a symlink cannot lead out of it.
  • Files over 1 MB are not sent. Files that are not text are listed but not shown.
  • Files that usually hold secrets are hidden like .git: .env and .env.*, *.pem, *.key, *.p8, *.p12, .npmrc, .netrc, id_rsa*, id_ed25519*, *.keystore, *.jks and credentials*. Turn on showSensitiveFiles to show them.
  • Known limit: that hiding applies to Files and to the history in the Git tab (the files of a commit and their patches, with .git and node_modules too). It does not apply to the changes of your working tree: a tracked .env that you edited still appears in the Git tab as a change and in its diff. It goes by file name only, so a secret inside an ordinary file name shows in a diff. Keep such files out of Git, or turn allowGit off.

Quick Open and Search in Files

Quick Open (⌘P on an iPad keyboard) finds a file by the letters of its name in order. Search in Files (⌘⇧F) searches the text of the files, with Match Case, Whole Word, Regular Expression, and the files to include and exclude (*.ts, src). Results come grouped by file and open at the line. The search honors every .gitignore, files.exclude, search.exclude and the hiding above, shows at most 10 matches per file and 200 in total, and refuses regular expressions that could run away. A regular expression that gets past that check runs in a thread the Mac stops after 4 seconds (the phone then says the search was stopped and shows what it had), so it cannot freeze VS Code. A phone can do 12 text searches a minute.

Editing

With allowEdit on (it counts only if it is true in your own user settings), the iPhone can edit the text files of the workspace.

Turning on editing is turning on the terminal. A file the phone changes can be code that runs on your Mac the next time something happens: a package.json script, a Makefile, a build or test file, a Git hook, a launch.json, a format-on-save configuration. The extension refuses the places that run by themselves (.vscode, .husky, .github, .githooks, .git, shell startup files such as .zshrc and .envrc, .gitconfig, .pre-commit-config.yaml), but it cannot tell which ordinary file you will run. Treat allowEdit like allowTerminal: turn it on only on a Mac where you accept that a paired, unlocked phone can run code.

  • Editing locks again after 300 s without an edit message, like the terminal; the phone asks for Face ID once more.

  • The phone unlocks editing once for each connection with Face ID. A new connection starts locked.

  • Edits go through VS Code, so they are in its undo stack on the Mac, and nothing is written until the phone taps Save. A file with changes the phone has not saved shows as unsaved on the Mac.

  • If you changed the file on the Mac after the phone opened it, the Mac refuses the phone's edit and the phone offers to load it again.

  • New file and rename inside the workspace each ask for Face ID. Files with sensitive names (.env, keys) can never be edited from the phone, even with showSensitiveFiles on. Files over 40,000 characters are not editable from the phone.

  • The tabs you have open on the Mac show in Files, under Open on Your Mac.

  • Everything is in the activity log (edit).

  • Save goes through VS Code's own save, so it runs what you configured for it on the Mac: format on save and code actions on save. That follows from the VS Code API (TextDocument.save); it has not been checked on a Mac in this version. If a save changes the text, the phone notices (the version of the document moved) and reads the file again, so it never edits on top of a text the Mac already changed.

Command Palette

The iPhone can run the commands in elegovateRemote.commandAllowlist, by id, with no arguments. The default is Format Document, Organize Imports, Toggle Word Wrap, Fold All, Unfold All, Git: Fetch and Reload Window. Save All is known by name but not in the default list (it saves every editor open on the Mac, wherever its file is); the phone saves the file it edits with Save. Ids that start with git. are not offered while allowGit is off. Edit the list in your user settings to add or remove ids; an empty list turns the palette off. Commands that only change the view run with a tap. Every other one, and every id you add, asks for Face ID on the phone each time. Editor commands act on the file open on the phone. Each run is in the activity log (command), with the limit of 20 a minute.

Code intelligence

With allowFiles on, the code viewer of the iPhone has an Outline (the symbols of the file, nested) and, on a tap on a line, the words of that line with Hover (type and documentation), Go to Definition and Find References. It is read only and asks the language of VS Code, so it is as good as the language support you have installed. Only locations inside the workspace are shown; a result in .git, node_modules, a file with a sensitive name or a file outside the folders of the window is left out and counted («1 result is outside this workspace or hidden»). At most 400 symbols, 100 locations and 3,000 characters of hover text. 60 requests a minute.

Git extras

On top of the Git above, with a signature where something is thrown away or leaves the Mac:

  • Stash the changes with an optional message, apply or pop the newest stash (no signature), drop it (it asks first and needs Face ID). The public API of VS Code's Git extension cannot list stashes, so the phone shows and acts on the newest one and says so.
  • Amend the last commit (staged changes join it, or only the message changes; Face ID). It refuses a commit the upstream already has, so a push after it cannot be rejected for rewritten history.
  • Merge another branch into the current one (Face ID). A merge with conflicts stops with an error and leaves them in VS Code for you.
  • Pull with rebase (Face ID). A rebase that stops on a conflict is aborted, so the repository is left as it was.
  • Tags, a read only list (200 at most).
  • Blame in the code viewer (the author and age of each run of lines, from VS Code's Git extension) and the history of one file.

A VS Code that is too old for one of these answers «This version of VS Code can't do that. Update VS Code on your Mac.».

Run and Debug

With allowDebug on (it counts only if it is true in your own user settings; off by default), the Tasks tab of the iPhone has Run and Debug.

  • The launch configurations are the ones of your launch.json. The phone starts one by name, with Face ID, and the signature covers a fingerprint of the whole configuration (program, args, env…): if launch.json changed after the phone read it, nothing starts. A configuration with a preLaunchTask, a postDebugTask or a ${command:…} is listed but can only be started on the Mac, and the phone says why. It can never send a configuration of its own. Stop and Restart act on the active session and also need Face ID.
  • The Debug Console shows the output of the session (500 lines kept).
  • While the program is paused, the Call Stack and its Variables can be read, and a variable can be opened to see its children. This is read only: the phone never evaluates an expression, changes a variable or steps through the code. Variables whose name looks like a secret (password, token, key, secret, auth, cookie, session) show (hidden) and are sent with no value and no children, as are structured values whose preview names one, but the output and the other values can still hold secrets of your program, so turn this on only if you accept that the phone sees them.
  • Breakpoints inside the workspace are listed and can be turned on and off. The phone cannot add, move or remove them.
  • Everything that starts, stops or restarts is in the activity log (debug), 120 requests a minute.

Not available: the Ports view (list and open the forwarded ports). VS Code has no stable API for it.

Git

With allowGit on, the Git tab of the iPhone works through VS Code's own Git extension. The extension never starts a git process of its own.

What the iPhone can do:

  • Show every repository of the window, including submodules (a multi folder workspace can have several; repositories that VS Code finds outside the window's folders are not reachable), with the branch, the changes and how far ahead or behind each one is. The iPhone remembers the repository you picked in each window.
  • Show the changes, staged and not staged, and the diff of each file.
  • Stage, unstage and commit, with a message of 1 to 5,000 characters.
  • List local and remote branches with the last commit, the upstream, and how far ahead or behind each local branch is.
  • Create a branch from the current one, optionally switch to it, and switch to another branch.
  • Publish a branch: push it and set its upstream.
  • Fetch, which reads every remote and changes nothing in your files.
  • Pull and push. A push names the branch the phone showed and the signature covers it, so if you switch branches on the Mac in the meantime, nothing is pushed. Pushing a branch that has no upstream publishes it to origin, or to the only remote there is. If there are several remotes and none is named origin, the phone is told so and nothing is pushed.
  • Discard changes in files.
  • Read the history, 20 commits at a time, with the files of each commit and their diff. This is read only.
  • Follow changes live. When something changes in a repository, even from VS Code, the phone updates in about a third of a second. A push or pull shows progress and the result.

What it cannot do: delete branches, force push, edit remotes, resolve conflicts or open a merge editor. It cannot stage or unstage a single hunk: the public API of VS Code's Git extension has no way to apply a partial patch to the index, and this extension never starts git itself, so staging stays per file.

Confirmations

Push, pull, publish, switch branch and discard need a signature made on the iPhone with a key that stays in its Secure Enclave. The phone asks for Face ID, Touch ID or the passcode, and the Mac checks the signature over that exact operation before it does anything. For that reason the app does not ask a second "are you sure" for push, pull, publish or switch. Discard still asks, because it cannot be undone. Creating a branch, staging and committing need no signature: they do not change what is in your working files in a way you cannot undo, and they are not visible to anyone else until you push.

The first time a phone needs a signature, it registers its public key with the Mac. This is automatic, and the Mac writes signature key registered in the activity log. A phone paired before this version registers by itself the first time it needs to, so you do not have to pair again. If the Mac ever says it already has a different key for that phone, remove the phone in Paired Devices and pair it again.

Limits

90 Git reads and 30 Git writes a minute per phone. A Git operation that waits for something on the Mac, such as a password prompt, is reported to the phone as failed after 90 seconds, and the message tells you to check the Mac.

Terminal

The terminal is off by default and you can only turn it on here, on the Mac. With allowTerminal on, a paired iPhone can run any command your user can run, in a terminal named iPhone that you can see. The list of allowed tasks is no longer the limit.

  • Each time the terminal opens, the iPhone asks for Face ID or the passcode and signs the request, and the Mac checks it.
  • It waits for VS Code's shell integration (4 seconds). If there is none, it opens nothing and says so. Nothing is ever typed into a terminal blindly.
  • One command at a time, 2,000 characters at most, up to 20 commands a minute. Full screen programs such as vim or top do not work.
  • The Mac lets go of the phone after five minutes without a command. A command that is still running keeps running when the phone leaves, until you use Cut iPhone Terminal.
  • Every open, command and Control-C is in the activity log with the whole command text.

Away from home with Tailscale

By default the extension listens only on the private addresses of your Wi-Fi or Ethernet. To reach your Mac when you are somewhere else, install Tailscale on the Mac and on the iPhone, sign both in to the same tailnet, and turn on elegovateRemote.listenOnTailscale. The extension then also listens on the Tailscale addresses of this Mac (100.64.0.0/10 and fd7a:115c:a1e0::/48). The iPhone saves the addresses it was told and tries them when it does not find the Mac on the local network.

Nothing is ever listened on a public address, and Tailscale is the only way away from home that Remote supports.

Security model

  • Pairing needs the QR code, which holds a secret that works once and lasts two minutes, and your confirmation on the Mac with a code you compare. The two devices then keep an encrypted channel with keys only they hold (Noise IKpsk2).
  • Local only. The extension listens on private network addresses, and on Tailscale addresses only if you turn it on. It calls no server unless you signed in to Elegovate ID (an optional account) or a paired iPhone turned on notices: then, one file for each, to a fixed host with no setting that changes it. Tests in the repository check that no other source file has network client code and that nothing is sent without a registration.
  • You decide what is shared. Tasks are allowed one by one. Files, Git, editing and the terminal each have a setting, and the palette has a list of commands. The terminal setting can only be changed on the Mac.
  • Risky actions are signed on the iPhone with a Secure Enclave key, over a one use nonce from the Mac. A copy of the pairing key is not enough to push, pull, switch branch, discard or open the terminal once the phone has registered its key.
  • Limits per phone, not per connection, so reconnecting does not reset them.
  • Everything is logged on your Mac for 90 days.

What this does not do: the Mac cannot prove that a key lives in a Secure Enclave. Someone who held the pairing key and spoke before the real phone registered its own signature key could register theirs. That would show in the activity log as signature key registered. If you did not expect it, remove the phone and pair it again. A phone with no passcode cannot make the key, so signed actions are not available on it. Anyone with an unlocked paired iPhone who passes Face ID or the passcode can do what the phone is allowed to do, so revoke a lost phone from the Mac.

Troubleshooting

The iPhone does not find the Mac. Check that both are on the same Wi-Fi (a guest network often blocks it), that Local Network is on for Remote in the iPhone's Settings, that the window is not paused (the status bar says Remote paused), and that you reloaded the window after installing. A VPN can also hide the Mac. Away from home, turn on listenOnTailscale. Each VS Code window is its own entry, so look for the window by its name.

Push (or pull, or publish) fails. The phone shows the reason in plain words. If it is not enough:

  1. Open the Output panel in VS Code and choose Remote in the list. A line <phone> connected (signature key registered) says the Mac knows the key of that phone. not registered yet is normal before its first signature.
  2. Run Remote: Show Remote Activity and read the last lines with "action":"git" (see below). A line with refused: means the Mac did not accept the signature, and a line with failed: carries what Git said. No line at all for the push means the Mac never received it, so check the connection and the version of the extension on this window.
  3. Look at the usual Git causes: no upstream (use Publish), the remote has commits you do not have (pull first), or the Mac needs credentials for the remote (VS Code or your credential helper may be waiting for a password on the Mac).

If the Mac says it already has a different key for this phone (key_mismatch), open Paired Devices…, remove the phone, and pair it again. You do not need to do that for any other signature problem: a phone paired before an update registers its key by itself.

"Update the extension" on the iPhone. The window runs an older extension that has no files, Git or terminal. Update the extension and reload the window.

"This is off on your Mac" or "Git is off". The matching setting is off. Change it in VS Code settings on the Mac.

"Too many requests in a minute." Wait a minute. The limits are per phone.

Reading the activity log

Remote: Show Remote Activity opens YYYY-MM.jsonl in the extension's storage folder. Each line is one JSON object:

{
	"ts": "2026-12-04T15:02:11.482Z",
	"device": "a1b2c3d4",
	"name": "My iPhone",
	"workspace": "my-project",
	"detail": "push",
	"action": "git",
	"result": "ok"
}
Field Meaning
ts When it happened, in UTC.
device A short id of the phone's key, or - when the Mac did it.
name The name the phone gave itself.
workspace The window.
action pair, revoke, run, stop, reveal, open, git, terminal, edit, command or denied.
detail What was done: the Git operation, the file opened, or the terminal command.
result ok, or why not. For Git: refused: <code> when the signature was not accepted, failed: git_failed: <what Git said> when Git failed, and a short sentence like Published feature to origin on success.

A denied action means the Mac refused a request that was not allowed. Passwords inside remote URLs are removed from what Git said before it is written. The log never holds task output or file contents. Lines older than 90 days are deleted.

Privacy

What the extension keeps, and where:

  • The public keys of your paired phones, in VS Code's secret storage. A phone you revoked leaves only its public key, its pairing secret and the time, for 30 days, so it can be told it was removed when it comes back. Nothing else of it stays.
  • The activity log, in the extension's storage folder, for 90 days.
  • The port each window used, in the workspace state, so a saved address on the phone keeps working.
  • For each phone with notices on, the registration id and the secret that lets this Mac send, in the same secret storage, and the deletes that could not reach the relay yet. A folder per window for agent signals, in the extension's storage folder, removed when the window closes.

Without notices and without an account, the extension sends nothing to Elegovate. With notices on, the relay of Elegovate gets the sealed message of each notice, never stored, and keeps the push token of the phone, the id of the registration, a hash of two secrets and the day of the last notice (the relay cannot read the message). It also sees the IP address of this Mac, as any server does with a request, and keeps it only as a rate limit counter that expires. What goes to the iPhone is what you allowed: tasks and their output, problems, files, Git state and, if you turned it on, terminal output. It goes over the encrypted channel to the phone you paired.

Developing

npm ci
npm run lint && npm run format:check && npm run typecheck && npm test && npm run build
npm run test:host    # vectors and Git against a real repository inside a separate VS Code
npm run test:e2e     # the Swift client pairs with the extension and runs an allowed task

Needs Node 22 and npm 10. The tests never touch your own VS Code settings or extensions.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft