See file paths instantly — without leaving your code.
PathPeek supercharges your workflow by showing full file paths, previews, and navigation options directly on hover — so you can explore your codebase faster with zero context switching.
✨ Features
-
📂 Full file path on hover
-
👀 Instant file preview
-
🔗 Click to open file
-
🪟 Open file in split view
-
⚡ Cmd/Ctrl + Click navigation
-
🧠 Smart path resolution:
- Relative paths (
./file) - Index files (
/folder/index.js) - Aliases (
@/components) - Rails-style paths
- Relative paths (
🧪 Example
import user from './models/user'
👉 Hover on './models/user' to instantly see:
- 📂 Full file path
- 👀 File preview
- 🔗 Open file options
🚀 Usage
- Hover over file paths → preview instantly
- Click Open File → navigate
- Use Cmd (Mac) / Ctrl (Windows) + Click → jump directly
⚙️ Settings
| Setting | Description | Default |
|---|---|---|
hoverPath.enabled |
Enable hover preview | true |
hoverPath.previewLines |
Number of preview lines | 10 |
📦 Installation
- Open VS Code
- Go to Extensions
- Search for PathPeek
- Click Install
👨💻 Author
Harshit Srivastava
⭐ Contribute
Have ideas or found a bug? Feel free to open an issue or contribute!
🚀 Why PathPeek?
Stop jumping between files just to understand imports.
Hover. Preview. Navigate.