Open In Windsurf KDE
Implementing an "Open In Windsurf" (AI IDE) context menu element for KDE Plasma
About This Project
Open-In-Windsurf-KDE is a small integration project that adds an "Open in Windsurf" entry to the right-click context menu of folders in Dolphin, the file manager for KDE Plasma 6. The project is implemented as a KDE service menu, defined in a single .desktop file, which is placed in the user's local service menus directory at ~/.local/share/kio/servicemenus. Selecting the action launches the Windsurf IDE with the chosen folder as its argument.
The implementation is written in Shell and relies on the standard KDE service menu mechanism rather than any custom application code, which keeps the footprint minimal and avoids the need for compilation or a background service. Installation requires copying the desktop file and restarting Dolphin or logging out and back in. The project was tested on Ubuntu 25.04 with KDE Plasma 6 and is documented as compatible with other Linux distributions running Plasma 6 and Dolphin.
This project may be useful to developers who use Windsurf on KDE Plasma and want to open project directories directly from Dolphin without using a terminal or launching the IDE manually. It also serves as a concise reference for anyone building their own Dolphin service menu actions for other editors or tools.