microsoft / microsoft/monaco-editor
Remove unused commands from the all command list
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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