How can I open all files in a directory with subli

2019-04-07 07:02发布

问题:

I am using windows and have successfully added sublime to the PATH. It seems that commands like -b for open in background do not work for whatever reason. My question is how can I open a directory with the command subl ./dir and open each file individually? Right now it adds it to the project and I would much rather it just open every file separately.

回答1:

You can try

> subl dir/*

Alternatively, you can open the project in a dir > subl dir and then install EnhancedSidebar package in sublime. This allows you to select multiple file right click them and click edit. Hope this is what you're looking for.