Skip to content

Add FileSystemProvider for jdt scheme (fixes #4038) - #4474

Open
MeherSru wants to merge 1 commit into
redhat-developer:mainfrom
MeherSru:fix-4038-jdt-filesystem-provider
Open

Add FileSystemProvider for jdt scheme (fixes #4038)#4474
MeherSru wants to merge 1 commit into
redhat-developer:mainfrom
MeherSru:fix-4038-jdt-filesystem-provider

Conversation

@MeherSru

Copy link
Copy Markdown
Contributor

Right now, vscode-java only knows how to show jdt:// files (like
decompiled class files) inside an editor tab. But some tools try to
read these files directly using VS Code's normal file-reading API,
and that was crashing with "ENOPRO: No file system provider found".

This PR adds proper support for that, so those calls work instead of
crashing. It reuses the same logic that was already fetching the file
content for the editor tab, so nothing about the existing behavior
changes. Actions like editing, deleting, or renaming these files are
still blocked, since they're read-only anyway.

Fixes #4038.

@MeherSru
MeherSru marked this pull request as ready for review July 28, 2026 13:06
@datho7561

Copy link
Copy Markdown
Contributor

In order to get the file system provider working, I think eclipse-jdtls/eclipse.jdt.ls#3855 should start working after we upgrade to vscode-languageclient >= 10 in vscode-java.

@datho7561

Copy link
Copy Markdown
Contributor

Then we can remove all this glue code for jdt:// completely

@datho7561

Copy link
Copy Markdown
Contributor

See #4476

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.

Missing FileSystemProvider for the 'jdt' scheme

2 participants