Skip to content

URL handler ignores folder parameter when IDE is unspecified #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
davo-canva opened this issue Aug 19, 2024 · 1 comment · Fixed by #550
Closed

URL handler ignores folder parameter when IDE is unspecified #466

davo-canva opened this issue Aug 19, 2024 · 1 comment · Fixed by #550
Assignees

Comments

@davo-canva
Copy link

davo-canva commented Aug 19, 2024

The URL handler for jetbrains-gateway://connect#type=coder ignores the folder parameter when ide_product_code or ide_build_number isn't specified.

Given not specifying the IDE parameters causes the IDE/project selection dialog to open, I expected the project path to be prefilled with the folder parameter value.

screenshot of IDE/project selection dialog
@code-asher code-asher self-assigned this Aug 19, 2024
@code-asher code-asher added the bug label Aug 19, 2024
@matifali matifali removed the bug label Oct 15, 2024
fioan89 added a commit that referenced this issue May 15, 2025
The value of the `folder` URI parameter is passed to the IDE&Project
dialog when handling URIs. The folder value will be rendered instead
of the default home folder if the value is not blank.

-resolves #466
@fioan89
Copy link
Collaborator

fioan89 commented May 15, 2025

The PR attached should fix this issue, but I want to highlight that correct URI should be jetbrains-gateway://connect?type=coder&...

fioan89 added a commit that referenced this issue May 20, 2025
* chore: use newer snapshot build for testing and building

I've also changed the list of Gateway versions we run the verifier against
to include Gateway 2025.1 while excluding some ancient releases.

Without this commit the PR will fail to build, the declared snapshots are
no longer available in the repository

* fix: pass the folder parameter to the IDE&Project dialog

The value of the `folder` URI parameter is passed to the IDE&Project
dialog when handling URIs. The folder value will be rendered instead
of the default home folder if the value is not blank.

-resolves #466

* chore: next version is 2.20.1
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 a pull request may close this issue.

4 participants