Configure the command line to open vscode

The configuration method is as follows:

  1. Enter command+shift+p in vscode to open the command panel;
  2. Enter Shell Command;
  3. At this point, there will be a prompt "Shell Command: Install 'code' command in PATH", just run it;
  4. Close vscode, enter directly in the terminal code ., then open vscode.

Guess you like

Origin blog.csdn.net/haoaiqian/article/details/111170012