AutoPath is a VS Code extension that automatically updates file paths in your code whenever you rename or move files inside the VS Code Explorer.
No more broken imports or missing data file errors — AutoPath keeps your code perfectly in sync, instantly.
✨ Features
🔁 Updates paths when you rename or move files/folders in VS Code Explorer
🎯 Preserves your original path style (r"", \\, /)
💬 Shows a popup with old vs new paths for transparency
⚙️ Works automatically — no setup or extra steps needed
⚠️ Limitations
AutoPath only works when files are renamed or moved using the VS Code Explorer.
(Changes made directly in Windows Explorer or terminal aren’t detected yet.)
🖥️ Supported Languages
Python (.py)
Jupyter Notebooks (.ipynb)
JavaScript / TypeScript (.js, .ts)
Java (.java)
C / C++ (.c, .cpp)
R (.r)
📦 How to Use
Install AutoPath from the VS Code Marketplace
In the Explorer, rename or move any file in your project
AutoPath will automatically detect the change and update all path references in your code