/jetbrains-search-provider

Gnome Shell search provider for Jetbrains IDEs

Primary LanguageTypeScriptGNU General Public License v2.0GPL-2.0

Jetbrains search provider

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

Requirements

  • Gnome shell 3.36 or newer
  • Python 3.6 or newer (as python3 in $PATH)

Installation

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.

Limitations

  • 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.

Credits

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.

License

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.