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
#1,280 6 comments 4 reactions 0 assignees View on GitHub

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?
image

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.