Skip to content

Focus view on open file URI from hover - #2934

Merged
jwortmann merged 1 commit into
sublimelsp:mainfrom
jwortmann:fix-hover-open-file
May 29, 2026
Merged

jwortmann merged 1 commit into
sublimelsp:mainfrom
jwortmann:fix-hover-open-file

Conversation

@jwortmann

Copy link
Copy Markdown
Member

If a link with a file URI in the hover popup is clicked, and the file is already open in the editor, seemingly nothing happens because open_file_uri does not automatically focus the resulting view.

I think it's expected to focus the view, and that is also more consistent, because in case the file was not open in the editor before, it will automatically take focus when newly opened by ST.

@jwortmann
jwortmann merged commit de4034e into sublimelsp:main May 29, 2026
8 checks passed
@jwortmann
jwortmann deleted the fix-hover-open-file branch May 29, 2026 12:50
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