npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alfred-workflows/intellij-idea

v1.0.1

Published

Downloads

9

Readme

Alfred整合Jetbrains系列软件

前言

Jetbrains系列的软件是我目前开发中最常用到的,比如:IDEA Webstorm Datagrip。这个工作流可以帮助快速检索查看和打开最近使用的项目 更重要的是只需要键盘就可以做到

支持Jetbrains系列软件

先解释下为什么jetbrains系列不同的软件需要不同的包,主要目的是为了按需引用,尽可能少的污染全局快捷键

(option键在Mac上一般和control command键一起使用,很少会有软件使用option + 字母,所以一般使用option + 字母做为Alfred工作流的快捷键)

先看工作流的效果这里先以Idea为例

使用 option + I 快捷键调出工作流 (或调出工作流然后中输入idea)可以列出最近使用Idea打开的文件

可以出入关键字进行搜索 同时也支持逻辑与(&)和逻辑或(|)

选中一个项目后

  • 直接回车会使用Idea打开此项目
  • 使用Command + 回车可使用Finder打开项目所在位置

使用环境

  • Alfred 5 (Powerpack)

  • nodejs v6+(推荐使用最新稳定版本)

  • Jetbrains系列软件如(Idea webstorm datagrip pycharm)

安装方法

这里需要按需引入需要使用的工作流这里以Idea为例(如果安装了多个工作流安装的包大小共用部分是共享的不会占用储存空间)

全局安装 @alfred-workflows/intellij-idea

npm i @alfred-workflows/intellij-idea -g
#npm i @alfred-workflows/webstorm -g
#npm i @alfred-workflows/datagrip -g
#npm i @alfred-workflows/pycharm -g

执行成功后工作流就已经安装完了,可以如效果图中正常使用了,Alfred会如下图多一个Workflows

自定义配置

可以打开Alfred Workflows 进行查看,可以自定义修改快捷键和关键词这里默认是 option + I / idea

  • 自定义快捷键 默认为option + I 可以点击Hotkey进行自定义配置

  • 自定义Alfred关键词 默认为idea 可以点击Script Filter进行自定义配置

卸载

此卸载会完全卸载工作流不会遗留任何文件

npm uninstall @alfred-workflows/intellij-idea -g
#npm uninstall @alfred-workflows/webstorm -g
#npm uninstall @alfred-workflows/datagrip -g
#npm uninstall @alfred-workflows/pycharm -g