Skip to content

Command Palette

>=5.4

The Command Palette gives you a keyboard-first way to move around massCode without reaching for the Space rail or sidebars. Use it to jump to spaces, open snippets, notes, and HTTP requests, run common actions, and create new items from any space.

Open it with Cmd+P on macOS or Ctrl+P on Windows and Linux.

What You Can Find

The palette searches by title across searchable content:

  • snippets in Code
  • notes in Notes
  • HTTP requests in HTTP
  • spaces
  • commands
  • recently opened items

Search results are ranked with your recent usage, so items you open often move higher over time.

Run Commands

Commands create new content or open app-level actions without switching spaces first.

Examples:

  • create a new snippet
  • create a new note
  • create a new HTTP request
  • create folders in Code, Notes, or HTTP
  • open Preferences

Press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux to open the palette directly in command mode. You can also type > after opening the palette.

Search Commands

Use command mode when you want to run an action instead of opening existing content.

  1. Open the palette.
  2. Type >.
  3. Type the command name, such as new snippet, new note, or preferences.
  4. Press Enter to run the selected command.

Press Esc to leave command mode and return to the full palette.

Search In A Space

Use space mode when you want to search only one part of massCode.

  1. Open the palette.
  2. Type @.
  3. Select a space, such as Code, Notes, or HTTP.
  4. Type your search query.

You can also type the scope directly, for example @code auth or @notes release.

Press Esc to leave the active scope and return to the full palette.

If a search has no exact match, the palette can create a new item from the query.

  • Create a snippet in Code Inbox.
  • Create a note in Notes Inbox.
  • Create an HTTP request in HTTP Inbox.
  • Create an HTTP request from a URL.

When create fallbacks are shown, press Shift+Enter to run the first create action.

Actions Panel

Open the actions panel for the selected result with Right Arrow or Cmd+K on macOS and Ctrl+K on Windows and Linux.

Actions depend on the selected result. For example, you can copy a title, copy snippet content, copy an HTTP request URL, or run the selected command.

Use Left Arrow or Esc to close the actions panel.

massCode released under the AGPL v3 License.
Snippet collection released under the CC-BY-4.0 License.