Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve file names for language detection #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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 🙏

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