{"version":"1.0.114","anchor":"smart-editor-detection","canonical_anchor":"smart-editor-detection","heading":"Smart Editor Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.114\/e\/smart-editor-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.114","markdown":"### Smart Editor Detection\n\n**What:** Intelligent editor selection that verifies editors are actually installed before attempting to use them.\n\n**How it works:**\n\n`# Priority order: $VISUAL \u2192 $EDITOR \u2192 code \u2192 vi \u2192 nano # Only selects editors that exist on the system claude \/memory` **Details:**\n\n- Uses `which` (Unix) or `where` (Windows) to check editor availability\n- Tries VS Code (`code`), then `vi`, then `nano` in order\n- Trims whitespace from environment variables to prevent issues\n- Throws clear error if no editor is available\n- Improves reliability when opening memory files\n- **Evidence**: `If1() at line 404558`, `V95() at line 404550`"}