raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.36k stars 3.05k forks source link

[Extension Name] ...Zed | Problem with opening a recent project, causes duplication of project in zed's recent projects window #14803

Open TympanicLemon opened 1 month ago

TympanicLemon commented 1 month ago

Extension

https://www.raycast.com/ewgenius/zed-recent-projects

Raycast Version

1.83.2

macOS Version

15.0.1

Description

When I use the Search Recent Projects command to open a recent project in zed, it works great and fine. However, if I then use cmd+option+o to open the recent projects window in zed, it duplicates the project I just opened.

Opening the project normally, only one instance of the project shows up in zed's recent projects pop up, no matter how many times I open the project using the CLI tool or the open folder button in zed

Steps To Reproduce

  1. Open a folder to edit code using either zed, or the CLI tool
  2. Close the editor, and then reopen zed again.
  3. Open the recent projects window to check that the opened folder now shows up there
  4. OPTIONAL: Feel free to check that the cli tool and zed's open folder button doesnt cause this duplication bug, i did but feel free
  5. Close zed
  6. Open said project using the zed raycast extension, through search recent projects command
  7. After zed opens, close zed
  8. Open zed
  9. Open recent projects window popup, and boom the project is now duplicated and you see it twice and it will continue to duplicate, adding another and another entry if you continue the steps above

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @ewgenius @tleo19 @jylamont @pernielsentikaer @tmwrnr you might want to have a look.

💡 Author and Contributors commands The author and contributors of `ewgenius/zed-recent-projects` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
ewgenius commented 3 weeks ago

@raycastbot assign me

ewgenius commented 3 weeks ago

@TympanicLemon thanks for detailed report, I will check that

TympanicLemon commented 3 weeks ago

@ewgenius thanks for taking the time to even look at it, super appreciate it :)