bchatard / alfred-jetbrains

Alfred5 workflow to easily open your projects with your favorite JetBrains product.
MIT License
617 stars 49 forks source link

Workflow does not working in a specific situation. #340

Open npcdja opened 5 days ago

npcdja commented 5 days ago

FAQ

Describe the bug

When i use old version of Android Studio then workflow does not working.

do not work Workflow does not working on Android Studio. The projects does not showing on Alfred prompt.

alfred_jetbrains_cli So i tried execute alfred_jetbrains_cli through terminal. And i saw something weird about 'Use Directory'. Actually i'm using Android Studio 2023.2.1. but there are printed AndroidStudio2024.1 and empty items.

toolbox not insatlled directory I never been installed newest version of Android Studio. but there were directory.

So i tried delete that directory but still not worked on Alfred and it will re-created in there.

To Reproduce

  1. install old version Android Studio.
  2. using workflow on alfred.
  3. does not show projects.

Expected behavior

No response

Alfred Version

5.5

Workflow Version

2.0.11

Node Version

22.3.0

NPM Version

10.8.1

Jetbrains Product & Version

Android Studio Iguana 2023.2.1 Patch 1

Installation type

JetBrains ToolBox

OS

macOS 14.1.1

bchatard commented 2 days ago

thanks for your report.

I never saw this issue before, I have an idea for a fix. I will work on it asap.

After you remove the directory, did you try to flush the cache on Alfred? https://www.alfredapp.com/help/workflows/inputs/script-filter/json/#cache

npcdja commented 4 hours ago

thanks for your report.

I never saw this issue before, I have an idea for a fix. I will work on it asap.

After you remove the directory, did you try to flush the cache on Alfred? https://www.alfredapp.com/help/workflows/inputs/script-filter/json/#cache

Thank you for answer!

I tried according to your suggestion, and it solved.

Newst version of Android Studio doesn't create a directory, studio script filter now working.

This is what i did.

  1. cd /Users/{user}/Library/Application Support/Google
  2. rm ./AndroidStudio2024.1
  3. typing reload on Alfred
  4. enter 'Reload Alfred Cache'