From f9a2d8cae39a0fb42e22aa17222c7da7b44b7ede Mon Sep 17 00:00:00 2001 From: Andy Pickle <39109475+pickleat@users.noreply.github.com> Date: Mon, 24 Feb 2020 13:13:16 -0600 Subject: [PATCH] vscode: add documentation for running in macOS (#8674) --- plugins/vscode/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/vscode/README.md b/plugins/vscode/README.md index 2c6530650..469c57ea8 100644 --- a/plugins/vscode/README.md +++ b/plugins/vscode/README.md @@ -8,6 +8,15 @@ To start using it, add the `vscode` plugin to your `plugins` array in `~/.zshrc` plugins=(... vscode) ``` +## Requirements + +To use VS Code in the terminal **in macOS**, first you need to install the `code` command in the PATH, +otherwise you might receive this message: `zsh: command not found: code`. + +[As the docs say](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line), open +the Command Palette via (F1 or โ‡งโŒ˜P) and type shell command to find the Shell Command: +> Install 'code' command in PATH + ## VS Code Insiders ๐Ÿ **If you are only using [VS Code Insiders](https://code.visualstudio.com/insiders/), the plugin will automatically bind to your Insiders installation.**