def open_settings_window(self):
sublime.run_command("new_window")
settings_window = sublime.active_window()
left_right_group = {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
settings_window.set_layout(left_right_group) # the left group is focused by default
settings_window.run_command("open_file", { "file": "${packages}/SpotifyWeb/" + self.__settings_file_name})
settings_window.focus_group(1) # focus the right group
settings_window.run_command("open_file", { "file": "${packages}/User/" + self.__settings_file_name})
评论列表
文章目录