Command Search

Command Search is the heart of Command Pocket: instant, fuzzy-matched access to all assets and scene objects in your Unity project.

Fuzzy search in action

How it works

Press Ctrl + Space and start typing. Command Pocket searches:

  • Project assets - all files in your Assets folder.
  • Scene objects - GameObjects in currently loaded scenes.
  • Recent history - your recently accessed items.

Fuzzy matching

You don't need to type the exact name:

You typeMatches
matMaterial, Animator, Audio Mixer
plyrPlayer, Player Controller
scptScript, MyScript

The search engine layers several strategies, in priority order: exact match, prefix match, contains match, subsequence match and Levenshtein distance for typo tolerance. Results are sorted by relevance score, not alphabetically.

Usage frequency scoring

Command Pocket learns from your behavior: frequently used items appear higher, recent items get a boost, and usage counts persist across sessions. The more you use it, the better it predicts what you need.

Recent history

When the search field is empty you see your most recent selections: a mix of assets and scene objects, sorted by last access. Press and Enter to jump right back to what you were working on.

Executing results

TypeDefault action
AssetPing in Project window
Scene objectFocus in Hierarchy and Scene view
Prefab assetOpen the prefab editor
ScriptOpen in your IDE

Right-click an item for more options: Open, Show in Explorer / Finder, Copy Path, Copy GUID, Add to Pocket.

Special search features

  • Extension filtering: type .cs or .mat to filter by type (when "Show File Extensions" is enabled in Settings).
  • Path-based search: scripts/player finds "PlayerController" in a Scripts folder.
  • Case-insensitive: PLAYER = player = Player.

Performance

  • Async, time-sliced search - heavy searches never block the UI (under 2 ms frame budget).
  • Virtualized list - only visible items are rendered.
  • Allocation-free matching - fuzzy matching does not allocate per keystroke.

Looking for something beyond plain search? Add a prefix to switch into a focused mode.