alex1701c / JetBrainsRunner

A Krunner Plugin which allows you to open your recent projects
GNU Lesser General Public License v3.0
55 stars 5 forks source link
clion development ide intellij jetbrains kde krunner launcher phpstorm plasma5 pycharm qt5 runner utility webstorm

JetBrains Toolbox Logo Icon from icon-icons.com

JetBrainsRunner

This plugin allows you to launch your recent JetBrains projects from Krunner.

Example

Screenshots #### Available CLion projects ![Available CLion projects](https://raw.githubusercontent.com/alex1701c/Screenshots/master/JetBrainsRunner/multible_projects.png) #### Search for project by name ![Search for project by name](https://raw.githubusercontent.com/alex1701c/Screenshots/master/JetBrainsRunner/launch_by_name.png) #### Search projects of app ![Search for project by name](https://raw.githubusercontent.com/alex1701c/Screenshots/master/JetBrainsRunner/search_projects_of_app.png) #### Config Dialog ![Config Dialog](https://raw.githubusercontent.com/alex1701c/Screenshots/master/JetBrainsRunner/config_dialog.png)

If you like this plugin you can check out the dolphin version and leave a rating in the KDE Store.

Installation

1 Required Dependencies

Debian/Ubuntu Plasma5: ```bash install-ubuntu-plasma5 sudo apt install git cmake extra-cmake-modules build-essential libkf5runner-dev libkf5i18n-dev libkf5kio-dev libkf5service-dev libkf5kcmutils-dev qtdeclarative5-dev libkf5dbusaddons-bin ``` Plasma6: ```bash install-ubuntu-plasma6 sudo apt install git cmake extra-cmake-modules build-essential libkf6runner-dev libkf6i18n-dev libkf6kio-dev libkf6service-dev libkf6kcmutils-dev libkf6dbusaddons-bin ```
OpenSUSE Plasma5: ```bash install-opensuse-plasma5 sudo zypper install git cmake extra-cmake-modules ki18n-devel krunner-devel kcmutils-devel kio-devel kservice-devel kdbusaddons-tools libQt5Test-devel ``` Plasma6: ```bash install-opensuse-plasma6 sudo zypper install git cmake kf6-extra-cmake-modules kf6-ki18n-devel kf6-krunner-devel kf6-kcmutils-devel kf6-kio-devel kf6-kservice-devel kf6-kdbusaddons-tools qt6-test-devel ```
Fedora Plasma5: ```bash install-fedora-plasma5 sudo dnf install git cmake extra-cmake-modules kf5-ki18n-devel kf5-krunner-devel kf5-kcmutils-devel kf5-kio-devel kf5-kservice-devel ``` Plasma6: ```bash install-fedora-plasma6 sudo dnf install git cmake extra-cmake-modules kf6-ki18n-devel kf6-krunner-devel kf6-kcmutils-devel kf6-kio-devel kf6-kservice-devel ```

2 KRunner Plugin

2.1 Get Files

Option A: Easy oneliner method ``` curl https://raw.githubusercontent.com/alex1701c/JetBrainsRunner/master/install.sh | bash ```

Option B: Get it from the AUR for Plasma5 or Plasma6

Option C: Manual method ``` git clone https://github.com/alex1701c/JetBrainsRunner --recurse-submodules cd JetBrainsRunner/ mkdir build cd build cmake -DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins` .. make make install kquitapp5 krunner;kstart5 krunner ```

2.2 (Optional) Configure Plugin

  1. Go to system settings (systemsettings5)
  2. Search for krunner
  3. Search for JetBrains in KRunner plugin list
  4. Configure plugin

Config Dialog

Checkbox Options

  1. Search By Application: Enables search suggestions based on the Application name (like in the first and third screenshot).
  2. Search By Project: Enables suggestions based on the Project name, this is shown in the second screenshot.
  3. Update Notifications: Enables notifications you when a new version of this plugin has been released. It checks for a new version weekly or when the config is opened. By unchecking it you turn the check permanently off.
  4. Show use application name as catagory for projects.

Result Formatting

You can change the displayed text for the run options using the following rules.

Manually Adding IDE's

If the plugin fails to find the installed applications or the correct config file you can specify them manually, please open an issue on Github so it can be fixed. Once the files have been selected the icon, name and recent project should get displayed.

Issues:

If you have any problems with this plugin please open an issue on Github and provide some information: