A Gnome shell extension to add recent projects from JetBrains IDEs to search.
Note: This extension is not affiliated with or endorsed by JetBrains.
Supports:
- IDEA Ultimate
- IDEA Community Edition
- Webstorm
- CLion
- GoLand
- Gnome shell 3.36 or newer
- Python 3.6 or newer (as
python3
in$PATH
)
Visit Releases and download jetbrains-search-provider@swsnr.de.shell-extension.zip
from the latest release, then run:
$ gnome-extensions install jetbrains-search-provider@swsnr.de.shell-extension.zip
Alternatively you can install directly from Gnome Extensions but the mandatory review process sometimes delays new releases for a couple of days.
- I do not know how to parse XML in GJS, so finding recent projects relies on a
Python helper which parses
recentProjects.xml
and outputs relevant parts as JSON.
I'd like to thank gnome-shell-web-search-provider and vscode-search-provider for inspiration and their source code which demonstrates how to use the—apparently entirely internal and undocumented—Gnome shell API for search providers.
Stand on the shoulders of giants and you can even write Javascript for Gnome.
Copyright Sebastian Wiesner sebastian@swsnr.de
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.