【问题标题】:How to open a file from VS code terminal without typing如何在不输入的情况下从 VS 代码终端打开文件
【发布时间】:2021-08-23 21:25:28
【问题描述】:

例如下面是在 VS 代码终端中,如何在不输入的情况下打开 EditDialog.js。我记得我可以点击线路本身,但现在失败了

[1] ./src/models/document/EditDialog.js
[1]   Line 2:8:    'Typography' is defined but never used             no-unused-vars
[1]   Line 3:8:    'Button' is defined but never used                 no-unused-vars
[1]   Line 5:8:    'DialogActions' is defined but never used          no-unused-vars
[1]   Line 7:8:    'DialogTitle' is defined but never used            no-unused-vars
[1]   Line 15:19:  'Model' is assigned a value but never used         no-unused-vars
[1]   Line 23:9:   'handleUpdate' is assigned a value but never used  no-unused-vars
[1] 

【问题讨论】:

    标签: visual-studio-code vscode-debugger


    【解决方案1】:

    从 VS Code 文档看来,在终端中的文件路径上使用 Ctrl+单击(或在 Mac 上使用 Cmd+单击)应该可以解决问题!

    https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_create-or-open-a-file

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-14
      • 1970-01-01
      • 1970-01-01
      • 2022-01-15
      • 1970-01-01
      • 2013-08-28
      • 1970-01-01
      相关资源
      最近更新 更多