Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Expo AutopilotNew to Visual Studio Code? Get it now.
Expo Autopilot

Expo Autopilot

Abdul Mateen

|
1,492 installs
| (3) | Free
Expo Autopilot – Effortless navigation and auto-imports for Expo developers. Boost productivity and streamline your workflow in VSCode. 🚀
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 Expo Autopilot - Smart Import Management for Expo Router Projects

A powerful VSCode extension designed specifically for Expo Router projects, offering intelligent import management, real-time diagnostics, and automated organization features.

📑 Table of Contents

  • Features
  • Installation
  • Usage
  • Import Order Rules
  • Commands & Shortcuts
  • Configuration
  • Examples
  • Contributing
  • Support Expo Autopilot

✨ Features

🎯 Auto Import Detection

  • Real-time detection of missing imports
  • Support for components, utilities, APIs, and constants
  • Smart path resolution with alias support
  • TypeScript and JavaScript compatibility

📦 Import Organization

  • Automatic import grouping and ordering
  • Real-time diagnostics for import order issues
  • Visual indicators for unorganized imports
  • One-click import organization

🎨 Visual Diagnostics

  • Interactive hover messages with quick fixes
  • Color-coded import groups
  • Clear visual indicators for import order issues
  • OS-specific keyboard shortcut hints

📥 Installation

  1. Open Visual Studio Code
  2. Access Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Expo Autopilot"
  4. Click Install

🎮 Usage

Auto Import

  • Command Palette: Auto Import
  • Shortcut: Ctrl+Shift+I (Windows/Linux) or Cmd+Shift+I (macOS)

Organize Imports

  • Command Palette: Organize Imports
  • Shortcut: Ctrl+Shift+O (Windows/Linux) or Cmd+Shift+O (macOS)

📐 Import Order Rules

The extension enforces a standardized import order:

  1. React Imports 🔵

    import React from 'react';
    
  2. React Native Imports 🟦

    import { View, Text } from 'react-native';
    
  3. Third Party Imports 🟨

    import { Tabs } from 'expo-router';
    
  4. App Imports (@/*) 🟩

    import { Button } from '@/components/Button';
    
  5. Relative Imports (./) 🟫

    import { utils } from './utils';
    

⌨️ Commands & Shortcuts

Command Windows/Linux macOS Description
Auto Import Ctrl+Shift+I Cmd+Shift+I Detect and add missing imports
Organize Imports Ctrl+Shift+O Cmd+Shift+O Organize imports according to rules

⚙️ Configuration

The extension automatically respects your project's configuration:

  • tsconfig.json for TypeScript path aliases
  • babel.config.js for Babel module resolver
  • Expo Router project structure

💡 Examples

Auto Import Feature

Before:

export default function MyComponent() {
  return <Button>Click me</Button>;
}

After:

import { Button } from '@/components/Button';

export default function MyComponent() {
  return <Button>Click me</Button>;
}

Import Organization

Before:

import { Button } from '@/components/Button';
import React from 'react';
import { View } from 'react-native';

After:

import React from 'react';

import { View } from 'react-native';

import { Button } from '@/components/Button';

🤝 Contributing

We welcome contributions! Feel free to:

  • Report issues
  • Suggest features
  • Submit pull requests

Visit our GitHub repository to get started.

📝 License

MIT License - feel free to use in your projects!

👨‍💻 About the Author

Hi! I'm Abdul Mateen, a passionate developer focused on creating tools that make development workflows smoother and more efficient.

  • 🔭 Currently working on improving Expo Router developer experience
  • 🌱 Specialized in React Native and Expo ecosystem
  • 💬 Let's connect and discuss ideas!
    • 🐦 Twitter
    • 💼 LinkedIn

💖 Support Expo Autopilot

Expo Autopilot is 100% free and open source! If you find it valuable:

  • ⭐ Star the project on GitHub
  • 🐦 Follow me on X / Twitter
  • 💼 Connect on LinkedIn
  • 📢 Share your experience with others
  • 🐛 Report bugs and suggest features

Your support helps keep this project active and continuously improving!


Made with ❤️ for the Expo Router community. Happy coding! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft