Skip to content

Use the 'username' parameter from the 'jetbrains' URI for connection.#2

Merged
azatsarynnyy merged 1 commit into
redhat-developer:mainfrom
rgrunber:use-username
Mar 13, 2026
Merged

Use the 'username' parameter from the 'jetbrains' URI for connection.#2
azatsarynnyy merged 1 commit into
redhat-developer:mainfrom
rgrunber:use-username

Conversation

@rgrunber
Copy link
Copy Markdown
Member

@rgrunber rgrunber commented Mar 13, 2026

Requires che-incubator/che-code#663 .

  • 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

CC'ing @azatsarynnyy for a review. This probably isn't as high priority given we're waiting on plugin validation in the marketplace.

- 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>
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")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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.

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.

Thanks @rgrunber for this patch!

@azatsarynnyy azatsarynnyy merged commit 101ef73 into redhat-developer:main Mar 13, 2026
@rgrunber rgrunber deleted the use-username branch March 13, 2026 21:27
@azatsarynnyy
Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants