Skip to content

[FR] Add when clause context to support leetcode-specific keyboard shortcuts #833

Open
@proItheus

Description

@proItheus

🚀 Feature Proposal

VSCode provides extensions a way to add their own context keys for when clauses in keyboard shortcut setting. It will be nice if this extension can set such a context key when editing a leetcode solution code file or viewing problems etc. I think maybe it can be implemented by comparing the current workspace dir with config.leetcode.workspaceFolder?

Motivation

To be able to use leetcode-specific shortcuts. For example, I want to use F5 as "test the code on leetcode" when dealing with leetcode problems , while using it as "debug" elsewhere.

Sorry for my bad English :)

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