You can do this using window.new_file() and populating the contents with sublime.load_resource()
API Suggestion Discussion: open_readonly_package_resource
FichteFoll
#2
window.run_command("open_file", {"file": "${packages}/Default/Preferences.sublime-settings"})
I will contribute some suggestions on Monday, most likely.
0 Likes