Skip to content

fix(plugin): HostedPluginReader loads browser plugins relying on implicit .js resolution#16886

Merged
msujew merged 5 commits intoeclipse-theia:masterfrom
EduIDE:fix/vim-extension
Feb 2, 2026
Merged

fix(plugin): HostedPluginReader loads browser plugins relying on implicit .js resolution#16886
msujew merged 5 commits intoeclipse-theia:masterfrom
EduIDE:fix/vim-extension

Conversation

@Fangoling
Copy link
Contributor

What it does

Fixes: #16884

The change adds a fallback mechanism to resolve plugin files with .js and .cjs extensions when the exact file path doesn't exist. This is implemented through a new resolveFile() method.

This change fixes the vscodevim.vim extension and potentially other extensions that run into a similar issue.

How to test

  1. open theia in a browser
  2. install vscodevim.vim extension

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
@github-project-automation github-project-automation bot moved this to Waiting on reviewers in PR Backlog Jan 27, 2026
@Fangoling Fangoling changed the title Fix/vim extension fix(plugin): HostedPluginReader fails to load browser plugins relying on implicit .js resolution Jan 27, 2026
@Fangoling Fangoling changed the title fix(plugin): HostedPluginReader fails to load browser plugins relying on implicit .js resolution fix(plugin): HostedPluginReader loads browser plugins relying on implicit .js resolution Jan 27, 2026
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks 👍

@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Needs merge in PR Backlog Jan 27, 2026
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
@Fangoling Fangoling requested a review from msujew January 30, 2026 20:43
@msujew msujew merged commit dd5b587 into eclipse-theia:master Feb 2, 2026
10 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Feb 2, 2026
@github-actions github-actions bot added this to the 1.69.0 milestone Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[plugin] HostedPluginReader fails to load browser plugins relying on implicit .js resolution

2 participants