vscode中复制文件名

https://stackoverflow.com/questions/57600269/visual-studio-code-how-to-copy-the-file-name
参考使用其中的快捷键操作(不用安装插件)。

  1. Ctrl+Shift+E to open and focus the Explorer pane.
    The current file will be selected automatically by default.
  2. F2 to start renaming the file.
    This will select the file name without file extension.
  3. (optional) Ctrl+A to include the file extension in the selection.
  4. Ctrl+C to copy.
  5. Escape to abort renaming (or just click anywhere).

当然这个流程还是有点复杂,不如鼠标右键一个拷贝文件名(理想,无实现),或者安装Copy file name插件,用一个快捷键处理,Ctrl+Alt+E

posted @ 2022-12-01 15:35  lingr7  阅读(1235)  评论(1编辑  收藏  举报