GithubHelp home page GithubHelp logo

jackwiy / alfred-jetbrains Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bchatard/alfred-jetbrains

0.0 0.0 0.0 1.74 MB

Alfred3 workflow to easily open your projects with your favorite JetBrains product.

License: MIT License

JavaScript 100.00%

alfred-jetbrains's Introduction

JetBrains: Open project

Alfred3 & Alfred4 workflow to easily open your projects with your favorite JetBrains product.

npm version npm downloads per week

Requirements

You need Node.js 8.12+/9.7+ and Alfred 3.5+ with the paid Powerpack upgrade.

This workflow need one of JetBrains products (2019.1+), and its shell script to works

Installation / Update

$ npm install -g @bchatard/alfred-jetbrains

Thanks to Alfy and alfred-notifier, you will be notify when a new version is available.

You can also install alfred-updater to update all your "Alfy Workflow".

Init shell script

  • Via JetBrains Toolbox:
    • Open the JetBrains Toolbox window, and then click on the parameter icon;
    • In the following form, enable Generate shell scripts, and set a path for script
    • More info: Toolbox App 1.11: What’s New.
  • Via Product Create Command-line Launcher

How to use

  • Open Alfred with your usual hotkey
  • Type keyword (example pstorm) followed by your project name jetbrains-projects-secret-light
Default Keywords
Supported versions I test with this products/versions:
  • AppCode: 2018.3 / 2019.+;
  • CLion: 2018.3 / 2019.+;
  • DataGrip: 2018.3 / 2019.+;
  • GoLand: 2018.3 / 2019.+;
  • IntelliJ Idea: 2018.3 / 2019.+;
  • PhpStorm: 2018.3 / 2019.+;
  • PyCharm: 2018.3 / 2019.+;
  • WebStorm: 2018.3 / 2019.+;
  • RubyMine: 2018.3 / 2019.+;

For other versions:

Customisation

Some of JetBrains product are available in different editions (ex: PyCharm - Professional, Edu & Community). In that case they share the same bin / keyword, so you need to customise the Preferences folder to retrieve your projects.

A search engine is used to retrieve relevant project. For some use cases, the default configuration is not optimal for you.

JetBrains Actions

With keyword jb you can access to some actions for this workflow.

Clean Projects Cache

Some information are cached for better performance. You can change cache lifetime (see environment variable). This command flush all cache.

Workflow Environment Variables

  • jb_product_cache_lifetime: cache lifetime in seconds for "product data" (application path, bin path etc) [default: 86400 seconds]
  • jb_project_cache_lifetime: cache lifetime in seconds for project list (one cache per app) [default: 3600 seconds]
  • jb_product_customisation_file: path to JSON file for product customisation
  • jb_search_customisation_file: path to JSON file for search customisation

Changelog

Changelog

License

MIT © bchatard

alfred-jetbrains's People

Contributors

bchatard avatar dependabot-preview[bot] avatar fieg avatar scalder27 avatar yihou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.