This project adds Antigravity editor options to the Windows context menu for files, folders, and folder backgrounds by modifying the Windows registry.
- Adds "Open with Antigravity" option to the context menu for files, folders, and folder backgrounds
- Adds "通过 Antigravity 打开" option for Chinese language users
- No administrator privileges required
- User-specific installation (affects only current user)
- Works on work laptops and corporate environments
This project provides five different installation methods. Choose the one that best suits your needs:
Advantages: User-specific, no administrator privileges required, works in corporate environments
- Modify Configuration: Open the
.regfile and replace<YourUsername>with your Windows username - Install:
- English: Double-click
install-open-with-Antigravity.reg - Chinese: Double-click
install-open-with-Antigravity-zh.reg(UTF-16 LE encoded)
- English: Double-click
- Click "Yes" when Windows asks for confirmation
- Restart File Explorer or log out and back in
Uninstall: Double-click uninstall-open-with-Antigravity.reg
Note: Uses HKEY_CURRENT_USER instead of HKEY_CLASSES_ROOT
Advantages: Automatic language detection, no manual configuration needed
- Install: Right-click
install-open-with-antigravity.ps1→ "Run with PowerShell" - Uninstall: Right-click
uninstall-open-with-antigravity.ps1→ "Run with PowerShell"
The script will automatically detect your system language.
Advantages: Simple and straightforward, works on all Windows versions
- Install: Double-click
install-open-with-antigravity.bat - Uninstall: Double-click
uninstall-open-with-antigravity.bat
Advantages: Cross-platform compatibility, easy to customize
Prerequisites: Python 3.x installed
- Install: Run
python install-open-with-antigravity.py - Uninstall: Run
python uninstall-open-with-antigravity.py
Advantages: No Python installation required, portable, double-click to run
Note: These .exe files are compiled from the Python scripts using PyInstaller
- Install: Double-click
dist/install-open-with-antigravity.exe - Uninstall: Double-click
dist/uninstall-open-with-antigravity.exe
install-open-with-Antigravity.reg- Install (English, no admin)install-open-with-Antigravity-zh.reg- Install (Chinese, no admin)uninstall-open-with-Antigravity.reg- Uninstall (both languages)
install-open-with-antigravity.ps1- Install (auto-detect language)uninstall-open-with-antigravity.ps1- Uninstall
install-open-with-antigravity.bat- Install (auto-detect language)uninstall-open-with-antigravity.bat- Uninstall
install-open-with-antigravity.py- Install (auto-detect language)uninstall-open-with-antigravity.py- Uninstall
dist/install-open-with-antigravity.exe- Install (no Python required)dist/uninstall-open-with-antigravity.exe- Uninstall (no Python required)
For detailed comparison of all installation methods, see comparison-of-installation-methods.md.
If you prefer to manually edit the registry:
- For detailed manual installation steps, please refer to README_en.md.
- For detailed manual installation steps (in Chinese), please refer to README_zh-CN.md.
-
Open-with-Cursor - Add Cursor editor options to the Windows context menu for files, folders, and folder backgrounds.
-
Open-with-Cursor-by-reg - Add Cursor editor options to the Windows context menu for files, folders, and folder backgrounds.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.
Special thanks to Ryan Johnson for his original contributions, especially regarding the .reg implementation.
Jing Wang - wangjing@xynu.edu.cn
Project Link: https://github.com/yuzhounh/Open-with-Antigravity