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

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.
主站蜘蛛池模板: 德令哈市| 巴里| 普兰县| 台北市| 云安县| 潼南县| 伽师县| 武宁县| 连云港市| 万宁市| 枣阳市| 方城县| 罗源县| 桐乡市| 札达县| 丹阳市| 辽中县| 松滋市| 双鸭山市| 青田县| 桐柏县| 苗栗县| 金湖县| 贵阳市| 三门县| 禄丰县| 高清| 岚皋县| 辽宁省| 资兴市| 玛纳斯县| 高要市| 美姑县| 周宁县| 炎陵县| 汉川市| 桃园县| 西城区| 葵青区| 东乡县| 杭锦旗|