FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add FileSystemProvider for jdt scheme (fixes #4038) by MeherSru · Pull Request #4474 · redhat-developer/vscode-java · GitHub

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

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 marked this pull request as ready for review July 28, 2026 13:06

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.

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

See #4476

Copy link
Copy Markdown

MeherSru:fix-4038-jdt-filesystem-provider

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing FileSystemProvider for the 'jdt' scheme

3 participants


Back | FazBrowse Home | New Git URL