Skip to content

Improve Visual Studio Code recent projects - #29644

Closed
Kenan7 wants to merge 2 commits into
raycast:mainfrom
Kenan7:ext/visual-studio-code
Closed

Kenan7 wants to merge 2 commits into
raycast:mainfrom
Kenan7:ext/visual-studio-code

Conversation

@Kenan7

@Kenan7 Kenan7 commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

Validation

  • npm run lint
  • npm run build
  • Raycast was not launched for manual UI testing.

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: visual-studio-code-recent-projects Issues related to the visual-studio-code-recent-projects extension platform: macOS platform: Windows labels Jul 22, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @thomaspaulmann @iainsimmons @macbookandrew @cy-98 @immint023 @pernielsentikaer @vimtor @tonka3000 @aka-rabbi-inv @oilbeater @QIanGua @hakob8956 @erics118 @tmwrnr @tleo19 @aeither @yug2005 @VatsalSy @Tarocch1 @list-jonas @xilopaint @lacherogwu @Nenuial @robertocinetto @ecntu @raxityo @yusifaliyevpro @jkker @sillasHead you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/visual-studio-code"
FORK_URL="https://github.com/Kenan7/extensions.git"
EXTENSION_NAME="visual-studio-code-recent-projects"
REPO_NAME="extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

@Kenan7
Kenan7 marked this pull request as ready for review July 22, 2026 12:12
@Kenan7 Kenan7 changed the title Update visual-studio-code extension Improve Visual Studio Code recent projects Jul 22, 2026
@greptile-apps

greptile-apps Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR improves recent-project actions and Git branch loading in the Visual Studio Code extension. The main changes are:

  • Changes the terminal shortcut to avoid a conflict with Open With….
  • Limits concurrent Git branch lookups.
  • Cancels lookups when project rows unmount.
  • Briefly caches branch lookup results.
  • Updates the changelog and contributor list.

Confidence Score: 5/5

This looks safe to merge.

  • Queued lookups are removed when their project rows unmount.
  • Active Git processes receive the cancellation signal.
  • Slot transfer remains balanced when cancellation races with queue processing.
  • No blocking issues remain in the updated code.

Important Files Changed

Filename Overview
extensions/visual-studio-code-recent-projects/src/utils/git.ts Adds bounded concurrency, cancellation support, and short-lived caching for Git branch lookups.
extensions/visual-studio-code-recent-projects/src/index.tsx Cancels a project row's Git branch lookup when the row unmounts.
extensions/visual-studio-code-recent-projects/src/lib/shortcuts.ts Moves the terminal action to the Cmd/Ctrl+Shift+T shortcut.
extensions/visual-studio-code-recent-projects/CHANGELOG.md Documents the shortcut and branch lookup changes using the required merge-date placeholder.
extensions/visual-studio-code-recent-projects/package.json Adds the PR author to the extension contributor list.

Reviews (2): Last reviewed commit: "Cancel stale Git branch lookups" | Re-trigger Greptile

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you resovle the merge conflict?

@0xdhrv
0xdhrv marked this pull request as draft August 10, 2026 09:14
@0xdhrv 0xdhrv self-assigned this Aug 10, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Sep 4, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

@raycastbot raycastbot closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: visual-studio-code-recent-projects Issues related to the visual-studio-code-recent-projects extension platform: macOS platform: Windows status: stalled Stalled due inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Visual Studio Code - Recent Projects] Shortcut conflict: "Open with <Terminal>" reuses ⇧⌘O from "Open With…"

3 participants