Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Gnome shell search providers for jetbrains IDEs

License

Notifications You must be signed in to change notification settings

swsnr/gnome-search-providers-jetbrains

Repository files navigation

Gnome search provider for Jetbrains projects

I no longer use or maintain this code.

Add recent projects of various Jetbrains IDEs to Gnome search.

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

Screenshot

Supports

  • Android Studio (toolbox)
  • CLion (toolbox)
  • GoLand (toolbox)
  • IDEA (toolbox)
  • IDEA Community Edition (Arch package)
  • IDEA Community Edition (toolbox)
  • PHPStorm (toolbox)
  • PyCharm (toolbox)
  • Rider (toolbox)
  • RubyMine (toolbox)
  • RustRover (toolbox)
  • WebStorm (toolbox)

Under the hood this is a small systemd user service which implements the search provider DBus API and exposes recent projects from Jetbrains IDEs.

Installation

Packages & binaries

I provide binary packages for Archlinux at home:swsnr:owned.

From source

  1. Install rust

    Note: This program depends on Glib and Gio. Building requires the corresponding headers to be installed.

  2. Build make build

  3. Install sudo make install

    This installs to /usr/local/.

    Note: You really do need to install as root, system-wide. A per-user installation to $HOME does not work as of Gnome 40, because Gnome shell doesn't load search providers from $HOME (see https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3060).

Debugging

To enable debug information for the service run systemctl --user service-log-level gnome-search-providers-jetbrains.service info. Use debug instead of info for even more verbose logging. The default level is notice.

Alternatively start the executable directly with RUST_LOG=debug or RUST_LOG=trace.

License

Copyright Sebastian Wiesner sebastian@swsnr.de

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.