Windows: Open Eclipse TheiaIDE folder in Explorer

Eclipse TheaIDE, open folder via Explorer as with Visual Studio Code.

One thing I like about Visual Studio Code is that it adds a menu entry to the explorer during installation, which allows you to open the folder directly in the editor. I use this quite often, be it to use the GIT functions or to quickly open a project.

The Eclipse Theia variant does not include this via the installer. But it can easily be retrofitted. Here is the template of the registry file:

Windows Registry Editor Version 5.00

; Context menu for folders (right-click on folder)
[HKEY_CLASSES_ROOT\Directory\shell\theia]
@="Open with Theia"
"Icon"="C:\\Program Files\\Eclipse Theia\\TheiaIDE\\TheiaIDE.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\theia\command]
@="\"C:\\Program Files\\Eclipse Theia\\TheiaIDE\\TheiaIDE.exe\" \"%V\""

; Context menu for folder background (right-click in empty area)
[HKEY_CLASSES_ROOT\Directory\Background\shell\theia]
@="Open with Theia"
"Icon"="C:\\Program Files\\Eclipse Theia\\TheiaIDE\\TheiaIDE.exe,0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\theia\command]
@="\"C:\\Program Files\\Eclipse Theia\\TheiaIDE\\TheiaIDE.exe\" \"%V\""

If necessary, adjust the path if the software is installed in the user path. Save as a .reg file in the editor and then import by double-clicking.

The function is now also available directly in Explorer. If an error message appears, check the path. It is also important to set the slashes twice.

Leave a Reply

Your email address will not be published. Required fields are marked *