Home:ALL Converter>Sublime Text / subl: Open file in specific group from command line

Sublime Text / subl: Open file in specific group from command line

Ask Time:2018-05-29T14:04:21         Author:Urmil Parikh

Json Formatter

I want to open a file from command-line (using subl or other means) in Sublime Text, but it always opens in currently active group.

How do I open it in specific group?

I see no option in subl for it and running command like focusGroup 0 but that too doesn't work.

Use case: I use ST with TerminalView plugin, so first group has all files to edit and second group has bash terminal open. Idea is to open a file in first group through command line in terminal (second group). As of now the file opens in second group.

Author:Urmil Parikh,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50577326/sublime-text-subl-open-file-in-specific-group-from-command-line
yy