Use the 'username' parameter from the 'jetbrains' URI for connection.#2
Merged
Merged
Conversation
- The 'jetbrains' URI should declare the user name for whom the SSH key belongs - Also install to the $HOME/.cache/ folder on Linux as $HOME/.local/ doesn't seem to properly detect the plugin Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
rgrunber
commented
Mar 13, 2026
| val os = System.getProperty("os.name").lowercase(Locale.getDefault()) | ||
| val toolboxCachesDir = when { | ||
| os.contains("win") -> System.getenv("LOCALAPPDATA")?.let { Path.of(it) } ?: (userHome / "AppData" / "Local") | ||
| os.contains("linux") -> System.getenv("XDG_DATA_HOME")?.let { Path.of(it) } ?: (userHome / ".local" / "share") |
Member
Author
There was a problem hiding this comment.
I couldn't get the plugin to actually show up in Toolbox, and Claude suggested the cache location instead. Respect 😎 .. Not sure if this is the right thing to do so I'm prepared to remove this, but it works for me.
azatsarynnyy
approved these changes
Mar 13, 2026
Member
|
That was a mistake in the JetBrains documentation https://youtrack.jetbrains.com/issue/TBX-17475/Incorrect-JetBrains-Toolbox-Plugin-Install-Locations-on-Linux-in-Docimentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires che-incubator/che-code#663 .
CC'ing @azatsarynnyy for a review. This probably isn't as high priority given we're waiting on plugin validation in the marketplace.