Kob*_*obi 1 sublimetext sublimetext4
Sublime Text 4 刚刚发布。Sublime Text 3/2 的行为更改已实现。在新的 Sublime Text 4 中,如果当用户(我)从终端使用命令时窗口已经打开,它会将我带到当前打开的Sublime Text 窗口。这不是我想要的行为。$ subl .
以前在 Sublime 3/2 中,后续使用$ subl .命令将在此目录中打开一个新的 Sublime Text 窗口(我现在有 2 个单独的窗口,都在该目录中,所有该项目的子目录都在侧边栏中)。
如何让Sublime Text 4 从终端打开附加窗口? 我想从终端打开同一项目中的多个窗口。
谢谢。
命令行参数-n或--new-window告诉subl创建一个新窗口。
\xce\xbb subl --help\nSublime Text build 4106\n\nUsage: subl [arguments] [files] Edit the given files\n or: subl [arguments] [directories] Open the given directories\n or: subl [arguments] -- [files] Edit files that may start with '-'\n or: subl [arguments] - Edit stdin\n\nArguments:\n --project <project>: Load the given project\n --command <command>: Run the given command\n -n or --new-window: Open a new window\n --launch-or-new-window: Only open a new window if the application is open\n -a or --add: Add folders to the current window\n -w or --wait: Wait for the files to be closed before returning\n -b or --background: Don't activate the application\n -s or --stay: Keep the application activated after closing the file\n --safe-mode: Launch using a sandboxed (clean) environment\n -h or --help: Show help (this message) and exit\n -v or --version: Show version and exit\n\nFilenames may be given a :line or :line:column suffix to open at a specific\nlocation.\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
862 次 |
| 最近记录: |