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 @   lingr7  阅读(1527)  评论(2编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
历史上的今天:
2018-12-01 对二维数组使用指针进行操作的探索(C语言)
点击右上角即可分享
微信分享提示