MCPcopy
hub / github.com/sublimelsp/LSP / run

Method run

plugin/code_lens.py:128–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 return self.are_enabled(self.window)
127
128 def run(self) -> None:
129 enable = not self.is_checked()
130 self.window.settings().set(CODE_LENS_ENABLED_KEY, enable)
131 sublime.set_timeout_async(partial(self._update_views_async, enable))
132
133 def _update_views_async(self, enable: bool) -> None:
134 window_manager = windows.lookup(self.window)

Callers

nothing calls this directly

Calls 2

is_checkedMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected