Overview

Alex Sidebar’s advanced semantic search allows you to find code using natural language queries. Instead of relying on exact matches or keywords, you can describe what you’re looking for, and the AI will understand your intent.

Quick Access

Command + P

Open the search panel from anywhere in Xcode. Start typing to see instant results.

Semantic Toggle

Switch between traditional and AI-powered semantic search modes for more accurate results.

1

Access Search

Press Command + P to open the search panel

The search panel can be accessed from any view in Xcode

2

Enter Query

Type your search query using natural language Examples:

  • “Where is my fix issues button?”
  • “Find the code that handles user authentication”
  • “Show me the main navigation setup”

Search Features

Natural Language

  • Use everyday language
  • Describe functionality
  • Ask questions about code
  • Search by purpose or intent

Context Awareness

  • Project-wide understanding
  • Related file detection
  • Function relationships
  • Code dependencies

Smart Results

  • Relevance-based ordering
  • Code preview snippets
  • Highlighted matches
  • Quick navigation

File Support

  • Swift files
  • Source code
  • Headers
  • Project resources

Best Practices

Writing Effective Queries

Tips for Better Results

Query Refinement

  • Start broad, then narrow down
  • Use specific technical terms when needed
  • Include relevant context
  • Be explicit about what you’re seeking

Context Understanding

  • Consider project structure
  • Think about related functionality
  • Include architectural context
  • Reference specific features

Troubleshooting

The semantic search feature works best when your project is properly indexed. If you’ve recently added new files, wait for indexing to complete for the most accurate results.