microsoft / microsoft/monaco-editor

Remove unused commands from the all command list

Open
#135 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request quick-pick
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

The monaco editor lists all available commands in the Commands list, and doesn't take into account enabled features.
ie: if I disable folding in the editor config
It still shows all the Folding commands: Fold All, Unfold All, etc.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Commands list behavior and the editor configuration handling for enabled features. Reproduce the case with folding disabled, then verify that folding commands such as Fold All and Unfold All are omitted from the list when the feature is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.