ST-API-stubs
ST-API-stubs copied to clipboard
Sublime Text API stubs for developing plugins.
With `want_event=True`, we have something like ```py def description(self, event: EventDict) -> str: ... ``` which violates the current stubs ```py def description(self) -> str: ... ``` But if we...
Probably go back here after the next ST stable release. - `view.replace` has a `region` arg instead of `r` - ...
When creating a new plugin with a text command and adding a type annotation to `run()` method, an error appears in the Diagnostics panel: ``` buffer://sublime/150: 6:7 error Method "run"...