Skip to content

Issue with menus being displayed in languages other than JavaScript and JavaScript JSX #7

@YukiWorks432

Description

@YukiWorks432

Menus are displayed in languages other than JavaScript and JavaScript JSX.
The problem can be solved by setting "when" correctly as follows.

// now
{"command":"adobe_dev_utils.js_to_string","key":"alt+d","mac":"alt+d","when":"editorTextFocus"}
// fixed
{"command":"adobe_dev_utils.js_to_string","key":"alt+d","mac":"alt+d","when": "editorTextFocus && (editorLangId == javascript || editorLangId == javascriptreact || editorLangId == js || editorLangId == jsx)"}

The specific proposed fixes have been submitted in a pull request.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions