microsoft / monaco-editor

A browser based code editor
https://microsoft.github.io/monaco-editor/
MIT License
40.01k stars 3.57k forks source link

Control what actions are shown in Command Palette (F1) and how they are ordered? #660

Open zhutq opened 6 years ago

zhutq commented 6 years ago

Is there a way to

  1. hide some actions from the Command Palette?
  2. control how the actions are ordered? I'm considering to show the mostly used at top.

Thank you very much!

manikantag commented 1 year ago

I also need this to show only indentation related options in the palette. I'm trying to get VSCode status bar like behavior.

ethan-vanderheijden commented 7 months ago

You can manually hide options from the command palette. See https://github.com/microsoft/monaco-editor/issues/135#issuecomment-1937091073