Skip to content

Conversation

iliazeus
Copy link

VSCode is able to detect and apply language modes automatically, looking at (among other things) file extensions. This PR makes it so the ContentProvider URIs preserve extensions of their source files. That enables VSCode to set language modes by default.

@iliazeus
Copy link
Author

Resolves #38

@pawk3k
Copy link

pawk3k commented Aug 4, 2024

I can add one more why we need this ?
In case of someone using https://semanticdiff.com/, file extension is needed to better understand how to calculate diff for better visibility @ryu1kn , could you please take a look into it 🙏

@iliazeus
Copy link
Author

iliazeus commented Apr 7, 2025

@ryu1kn can you please review this PR? This is the single feature I miss from this extension.

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