官术网_书友最值得收藏!

Launching VS Code from the Command Line

Let's take a look at the following steps:

  1. You can also run Visual Studio Code from the Terminal by typing code after adding it to the PATH environmental variable:
  2. Launch Visual Studio Code
  3. Open the Command palette by pressing ShiftcmdP 
  4. Type shell command to find the Shell Command: Install 'code' command in PATH command
  5. Press Enter and Visual Studio Code will be added to the PATH
  1. Restart the terminal for the new $PATH value to take effect
  2. You'll be able to type code in any folder to start editing files in that folder
If you had earlier versions of Visual Studio Code and have added Visual Studio Code as an alias in your .bash_profile or equivalent for other shells, then remove that reference from the file and replace that by following the above steps to run  Shell Command: Install code command in PATH   command.
主站蜘蛛池模板: 浦北县| 沈阳市| 平定县| 墨脱县| 柘荣县| 康保县| 平原县| 和平区| 神农架林区| 东乌珠穆沁旗| 贺州市| 巴楚县| 安远县| 德保县| 二连浩特市| 丹寨县| 新竹县| 林州市| 泾阳县| 防城港市| 安岳县| 香格里拉县| 邵武市| 潢川县| 商河县| 西乌珠穆沁旗| 上饶县| 修水县| 治县。| 厦门市| 伊川县| 龙江县| 太康县| 丹东市| 泰顺县| 东乌珠穆沁旗| 闻喜县| 开鲁县| 白河县| 百色市| 和林格尔县|