This is a simple script that adds a context menu entry to open a directory or file with JetBrains IDEs installed through Toolbox. It is useful when you navigated to a project folder or specific config file and don't want to open the IDE and then navigate to the project folder or aforementioned file. You can just right click on the project folder and select the IDE you want to open it with.
- Download this repo.
- Extract downloaded files somewhere on the filesystem. Be aware that the directory you selected can not be deleted or moved after running script
install.ps1
. - Open PowerShell as administrator in a directory where you extracted downloaded files.
- Run script
install.ps1
with the following command:powershell -ExecutionPolicy Bypass -File .\install.ps1
. - Profit!
- Open PowerShell as administrator in a directory where you extracted downloaded files.
- Run script
uninstall.ps1
with the following command:powershell -ExecutionPolicy Bypass -File .\uninstall.ps1
. - Delete the directory with downloaded files.
- If you installed new IDEs or changed names of generated scripts, just repeat the install steps and the old setup will be replaced with the new one.
- When uninstalling, some paths in registry will not be removed, because they can be used by other programs, but they will not in any way affect the system operation.
- Only IDEs that have a launch script generated by Toolbox will have context menu entries.
Only some IDEs that have a launch script generated by Toolbox will have a full name in the context menu entry. The ones that do not have full one will have string retrieved from the directory name insideSince version 2.0 all IDEs have full names in the context menu entry, because they are used in the install path.%localappdata%\JetBrains\Toolbox\apps
. I hardcoded the full names of the IDEs that I use, but if you want to add more, you can edit the scriptinstall.ps1
and add more.- Only the default install location of the Toolbox is supported. If you installed Toolbox in a custom location, you will have to manually edit the script
install.ps1
and change the variable$toolbox_path
to the path where you installed Toolbox. - Ony the default location of IDEs launch scripts is supported (
%localappdata%\JetBrains\Toolbox\scripts
if you have not changed the script variable$toolbox_path
as defined in point 5. If you have changed the location of scripts, it should be$toolbox_path\JetBrains\Toolbox\scripts
, where$toolbox_path
resolves to the Toolbox custom install directory). - File
nowindow.vbs
is a wrapper used for opening IDEs without a quick flash of a console window. It is called from registry, so if you remove or rename it, the IDEs will not open.