Improvement: Auto detect language mode if two extensions contribute to the same filename or file extension #233894
Labels
feature-request
Request for new features or functionality
languages-guessing
Language guessing issues
Milestone
As an example, the Go extension contributes the following:
The
.tmpl
is used by many languages. According to microsoft/vscode-docs#2862 what VS Code does here, is to associate the.tmpl
file with the extension that comes first in alphabetical order, in the case where two more more extensions associate different language ids (modes) with this extension.My proposal is that VS code instead, if there is a clash, uses the Auto Detect feature of which language mode to use. And falls back to alphabetical if that does not work, and gives a notification about this. The notification should include:
The text was updated successfully, but these errors were encountered: