microsoft / microsoft/monaco-editor
How can I customize context menu? I want to delete 'Go to definition' and others,and add my own meun.
Open
Nobody has claimed this yet.
contextmenu
feature-request
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
I have use addAction add 'add Commont', and I don't want others.How can I do?

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 reviewing the addAction entry point and the Monaco Editor context-menu behavior described in the issue. Determine whether built-in actions can be removed and custom actions retained; done means the requested menu contains only the user's chosen actions, with the behavior documented or covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100