You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Basti ac62be5392 Use proper Map API 1 week ago
.github/workflows Setup Github workflow to compile and lint 4 months ago
.eslintrc.json Lint for all mutation 4 months ago
.gitignore Migrate to typescript 4 months ago
LICENSE Initial commit 4 months ago
README.md Update README 4 months ago
extension.ts Use proper Map API 1 week ago
find-projects.py Migrate to typescript 4 months ago
gi.d.ts Fix sslint issues in typescript files 4 months ago
gnome-shell.d.ts Update to new extension init interface 1 week ago
metadata.json Update to new extension init interface 1 week ago
package.json Add run command 1 week ago
tsconfig.json Migrate to typescript 4 months ago
yarn.lock Update deps 1 week ago

README.md

Gnome shell search provider for Intellij IDEA projects

A Gnome shell extension to find recent IntelliJ IDEA projects in search.

Requirements

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

Installation

Install via Gnome Extensions.

Alternatively download the latest .shell-extension.zip from Releases and run

$ gnome-extensions install intellij-idea-search-provider@swsnr.de.shell-extension.zip

Note: Version numbers from Gnome Extensions and Releases differ, because uploading to Gnome Extensions renumbers releases. If you switch between installation methods, remove and reinstall.

Limitations

  • I do not know how to parse XML in GJS, so finding recent IntelliJ projects relies on a Python helper which parses recentProjects.xml and outputs relevant parts as JSON (see GH-1).
  • I use Ultimate, so this extension only supports IDEA Ultimate, installed with snap, flatpak or from AUR. Pull requests for Community and Toolbox welcome, see GH-2.

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 2019 Sebastian Wiesner sebastian@swsnr.de

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.