Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

swsnr/jetbrains-search-provider

Repository files navigation

Jetbrains search provider

Deprecated: This extension is no longer maintained; please see https://github.com/lunaryorn/gnome-search-providers-jetbrains for a proper search provider which avoids the fragile Gnome Extensions API (which never supported search providers officially) and instead implements the standard DBus API.

A Gnome shell extension to add recent projects from JetBrains IDEs to search.

Note: This extension is not affiliated with or endorsed by JetBrains.

Screenshot

Supports:

  • Android Studio (Toolbox)
  • CLion (Toolbox, Snap)
  • GoLand (Toolbox)
  • IDEA Community Edition (Toolbox, Snap, Arch Linux Package)
  • IDEA Ultimate (Toolbox, Snap, Flatpack)
  • PhpStorm (Toolbox, Snap)
  • PyCharm (Toolbox)
  • Rider (Toolbox)
  • Webstorm (Toolbox, Snap)

Requirements

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

Installation

Visit Releases and download [email protected] from the latest release, then run:

$ gnome-extensions install [email protected]

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 [email protected]

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.