在命令行中使用Visual Studio code打开文件:

  1. 打开Visual Studio code;
  2. CMD + SHIFT + P打开控制面板;
  3. 键入“shell command”回车;

打开新的标签页

$ CMD + 1/2/3/...

打开文件的具体某行某列

// 打开文件并指向第8行第10列
$ code src/client/app/app.module.js:8:10 -r -g

相关文章:

  • 2021-09-27
  • 2021-11-17
  • 2021-08-26
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
猜你喜欢
  • 2022-01-02
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-22
相关资源
相似解决方案