A VSCode extension that allows you to hover over and click on file names within square brackets to instantly open them using your system's specific search engine.
- Instant File Opening: Hover over any file name enclosed in square brackets (e.g.,
[myfile.txt]) and click the link to open it instantly. - Cross-Platform Support: Works on both Windows and macOS.
- Native Integration:
- On Windows, it leverages the powerful Everything search engine.
- On macOS, it uses the built-in Spotlight search (
mdfind).
- System-Wide Search: Finds files across your entire system, not just within the current workspace.
- No Manual Pathing: Eliminates the need to manually browse or type file paths.
- Windows: The Everything application must be installed and running.
- macOS: No additional software is needed. The extension uses the built-in Spotlight functionality.
- Mark Files: In any text file (code, notes, README, etc.), mark a file name using square brackets:
[filename]. - Hover: Move your cursor over the file name within the brackets.
- Click: Click the "Open File" link that appears in the hover tooltip.
This extension does not add any VS Code settings.
- On Windows, the extension requires Everything to be running. If it's not, a helpful error message will guide you to install it.
- On macOS, search results depend on your Spotlight index. If a file isn't found, ensure it's in a location indexed by Spotlight.
- Added demo GIF to READMEs.
- Added link to Chinese README in English README.
- Added support for macOS using the native Spotlight search (
mdfind). - The extension is now cross-platform.
- Initial release of File Linker.
- Hover and click functionality for opening files on Windows.
- Bundled Everything CLI for seamless integration.
Contributions are welcome! Please feel free to submit a Pull Request on GitHub.
This project is licensed under the MIT License - see the LICENSE.md file for details.
