Skip to content

Allow to pass language mode for workbench.action.editor.changeLanguageMode action #213688

@dimateos

Description

@dimateos

Sometimes I want to quickly change the languange mode of an unsaved document to .log.
Would love to be able to pass an argument to workbench.action.editor.changeLanguageMode e.g.:

{
    "key": "shift+alt+w shift+alt+l",
    "command": "workbench.action.editor.changeLanguageMode",
    "args": "log"
},

Best regards!

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderslanguages-basicBasic language support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions