Open the same directory twice

后端 未结 5 781
情深已故
情深已故 2021-01-30 07:42

On command line, I could open a directory like:

    code .

Now, I want two of the identical diretory opened and displayed in another window.

5条回答
  •  无人共我
    2021-01-30 08:48

    As far as I know, the accepted answer is not correct as C14L indicates.

    It can be done by opening a different folder that includes the folder you're working in. So say we have /project and /project/src and /project/build, you're probably interested in having src open in two instances of VSCode, which you can achieve by opening /project and /project/src.

提交回复
热议问题