Skip to content

Search Core Commands receives unexpected argument #9

@Unknow0059

Description

@Unknow0059

Description of the bug

Lines 2-8 of CommandsBrowser.sublime-commands contain "Search Core Commands", displayed for interaction in the Command Pallette.

If I place that in my .sublime-menu file - for the right click context menu - and click the button, the following error appears:

Traceback (most recent call last):
  File "...\tools\Lib\python38\sublime_plugin.py", line 1657, in run_
    return self.run(**args)
TypeError: run() got an unexpected keyword argument 'event'

Note ... is the installdir for Sublime Text 3.

Steps to reproduce

  1. Copypaste Lines 2-8 into the .sublime-menu file
  2. Click respective button in context menu

Expected behavior

List of Core commands to be shown.

Actual behavior

Error thrown.

Note this doesn't happen with Search Plugin Commands.

CommandsBrowser version

1.5.0

CommandsBrowser settings.

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions