Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Inertia JumpNew to Visual Studio Code? Get it now.
Inertia Jump

Inertia Jump

Cletous Ngoma

|
71 installs
| (0) | Free
Jump to Inertia page components from Laravel controller
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Inertia Jump

A Visual Studio Code extension that allows you to Ctrl+Click or Cmd+Click on Laravel Inertia paths like:

return Inertia::render('Central/Dashboard/Index');

And instantly jump to the corresponding file in:

```
resources/js/Pages/Central/Dashboard/Index.jsx
```

Supports `.jsx`, `.tsx`, and `.js` files.

---

## Features

- Jump directly from Laravel controller to the matching Inertia page component
- Supports both single (`'`) and double (`"`) quotes in `Inertia::render(...)`
- Resolves `.jsx`, `.tsx`, and `.js` file extensions
- If the file doesn't exist, you’ll be prompted to create it (with folder auto-creation)
- Creates a basic component boilerplate when new files are generated
- Lightweight and requires zero configuration

---

## Example

```php
return Inertia::render('Admin/Profile/Settings');
```

🡺 Jumps to:

```
resources/js/Pages/Admin/Profile/Settings.jsx
```

If the file doesn’t exist, you’ll be prompted to create:

```
resources/js/Pages/Admin/Profile/Settings.jsx
```

with starter content:

```jsx
export default function Settings() {
  return <div>Settings Page</div>;
}
```

---

## Requirements

- Laravel + Inertia.js (React-based)
- Inertia page components must reside in:

  ```
  resources/js/Pages/...
  ```

---

## How to Use

1. Install the extension (`inertia-jump`)
2. Open a Laravel controller or route file
3. Hover or **Ctrl+Click** (or **Cmd+Click** on Mac) the string inside `Inertia::render(...)`
4. If the corresponding file exists, it will open
5. If it doesn’t exist, you’ll be asked if you want to create it

---

## Author

**Cletous Ngoma**

- [cletous@makuruwan.com](mailto:cletous@makuruwan.com)
- [https://mws.makuruwan.com](https://mws.makuruwan.com)

---

## License

MIT

```

---

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