Open a folder in Sublime Text 3 using command line

前端 未结 10 1466
旧巷少年郎
旧巷少年郎 2020-12-23 01:53

I\'m trying to open a directory in sublime Text 3.

I can launch sublime from the command line using the subl command.

The help text show the fol

10条回答
  •  时光说笑
    2020-12-23 02:30

    MAC OSX Open terminal and run following command:

    ln -s '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' /usr/local/bin/subl

    The above command is needed only for first time. After this configuration, whenever you go to folder where your project is present, run following command:

    subl .

提交回复
热议问题