VS Code - Add a new file under the selected working directory

后端 未结 4 533
猫巷女王i
猫巷女王i 2021-01-29 21:38

I\'m trying to get a shortcut to add a new file under my current working folder. So I navigate to the explorer using cmd+shift+e and when I get to the folder I want

4条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 22:02

    You can do it in two steps:

    1. Cmd + Shift + E: Open the explorer with
    2. Ctrl + N: Create a new file under the current folder and name it.

    I actually like this approach than the magical-one-click because each step is clearer and you don't have to configure anything.

提交回复
热议问题