MCPcopy
hub / github.com/victorporof/Sublime-HTMLPrettify / open_sublime_keymap

Function open_sublime_keymap

src/py/utils/window_utils.py:47–51  ·  view source on GitHub ↗

Opens the default plugin keyboard bindings file for editing in a new tab

(window, platform)

Source from the content-addressed store, hash-verified

45
46
47def open_sublime_keymap(window, platform):
48 """Opens the default plugin keyboard bindings file for editing in a new tab"""
49 file_name = KEYMAP_FILENAME.replace("$PLATFORM", platform)
50 file_path = join(get_root_dir(), file_name)
51 window.open_file(file_path)
52
53
54def open_u_sublime_keymap(window, platform):

Callers 1

runMethod · 0.85

Calls 1

get_root_dirFunction · 0.85

Tested by

no test coverage detected