Skip to content

Update jetbrains extension - Add Support for Toolbox V3 - #22265

Merged
raycastbot merged 7 commits into
raycast:mainfrom
hemangkinra:ext/jetbrains
Oct 20, 2025
Merged

raycastbot merged 7 commits into
raycast:mainfrom
hemangkinra:ext/jetbrains

Conversation

@hemangkinra

@hemangkinra hemangkinra commented Oct 18, 2025 •

Copy link
Copy Markdown
Contributor

Description

  • Added support for JetBrains Toolbox version 3 and improved handling of unsupported versions.
  • Updated extension messages for clarity and easier future version upgrades.

Screencast

Unsupported Message for Command
jetbrains 2025-10-18 at 19 08 56

Unsupported Message for Menu bar
image

Supported Version Images
image

jetbrains 2025-10-18 at 19 09 42

Checklist

- update publish script
- feat: support JetBrains Toolbox v3 and improve unsupported version messages
- Initial commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: jetbrains Issues related to the jetbrains extension platform: macOS labels Oct 18, 2025
@raycastbot

raycastbot commented Oct 18, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @gdsmith @adrienbaron @dima-m711 @PeraSite 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.

You can expect an initial review within five business days.

@hemangkinra
hemangkinra marked this pull request as ready for review October 18, 2025 14:34

@greptile-apps greptile-apps Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Greptile Overview

Summary

This PR adds support for JetBrains Toolbox version 3 and improves version compatibility handling.

Key Changes:

  • Refactored version checking from hardcoded V2 check to array-based supportedMajorVersions configuration (["2", "3"])
  • Renamed isV2 property to more descriptive isSupported throughout codebase
  • Enhanced error messages to dynamically display supported versions and provide GitHub issue link
  • Updated changelog and contributor list

Minor Issue Found:

  • Unused variable latestSupportedVersion in recentMenu.tsx:29

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward and well-implemented. The refactoring from hardcoded version checking to array-based configuration makes future version upgrades easier. All usages of the renamed property are correctly updated. The only issue is a minor unused variable that doesn't affect functionality.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
extensions/jetbrains/src/util.ts 5/5 Added version 3 support with maintainable version checking logic using array-based configuration
extensions/jetbrains/src/useAppHistory.tsx 5/5 Updated to use new isSupported property from renamed isV2 check
extensions/jetbrains/src/recent.tsx 5/5 Improved error messaging with dynamic supported versions list and GitHub issue link
extensions/jetbrains/src/recentMenu.tsx 4/5 Updated menu bar error messages with dynamic version text; unused variable declared

Additional Comments (1)

  1. extensions/jetbrains/src/recentMenu.tsx, line 29 (link)

    style: unused variable latestSupportedVersion

7 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@hemangkinra hemangkinra changed the title Update jetbrains extension Update jetbrains extension - Add Support for Toolbox V3 Oct 18, 2025
@hemangkinra hemangkinra changed the title Update jetbrains extension - Add Support for Toolbox V3 Update jetbrains extension - Add Support for Toolbox V3 Oct 18, 2025
@rachid-o

Copy link
Copy Markdown

This one is duplicate with #22263
I prefer the other one which checks for version >=2, so potentially v4 can be supported without changes in the future.

@hemangkinra

Copy link
Copy Markdown
Contributor Author

This one is duplicate with #22263 I prefer the other one which checks for version >=2, so potentially v4 can be supported without changes in the future.

Makes sense, but my assumption was that we can only be sure that v2 and v3 are supported, but not any subsequent versions without testing.

@pernielsentikaer

Copy link
Copy Markdown
Contributor

@rachid-o, as you might know, we had 4 PRs for Jetbrains since Friday. Many users want to help fix bugs, but that also means we have to reject a few, and we found this PR as the one we want to go with.

I’m torn between preventing things from breaking with new versions and what’s currently happened, but I think if things had broken with v3, it would be better to know that there’s a brand new version out rather than things just not working

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, approved 🔥

raycastbot and others added 4 commits October 20, 2025 12:24
… extension

- Deleted .eslintrc.json file.
- Updated package-lock.json and package.json to reflect new versions of dependencies, including @raycast/utils, @raycast/eslint-config, eslint, prettier, and typescript.
- Made minor adjustments to code formatting for consistency.
@raycastbot
raycastbot merged commit 12a7518 into raycast:main Oct 20, 2025
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

tktcorporation added a commit to tktcorporation/extensions that referenced this pull request Nov 2, 2025