You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verified an issue has not already been logged for your issue (linguist issues).
Problem Description
Files with parent languages (files with prefixed file extensions that are consolidated into language groups) are excluded from the search results pages that Linguist links to in the language bar. For example, this repository reports "3.7% HTML" usage but when clicking the link in the language bar to view those files, GitHub says it couldn’t find any code. To view those files the user has to click the HTML+EEX link in the languages sidebar.
Ideally names within language groups would be combined in the link's search query but I'm not sure if GitHub's web search endpoints support this. Another idea is to have the most prevalent extension within the language group take precedence. So if I mostly have EEx templates in my repo, the "HTML" link would pass a l=html%2Beex query instead of l=html.
URL of the affected repository:
All repositories with files containing prefixed file extensions that are aggregated into language groups (.html.erb, .html.eex, etc.)
Last modified on:
2019-07-27
Expected language:
N/A
Detected language:
N/A
The text was updated successfully, but these errors were encountered:
Yup. Linguist is responsible for the grouping, but the main GitHub app is responsible for the search behaviour so not really something Linguist can control short of not grouping. As per the discussions in #4291 this would be a case where the grouping makes sense and isn't likely to change.
Preliminary Steps
Please confirm you have...
Problem Description
Files with parent languages (files with prefixed file extensions that are consolidated into language groups) are excluded from the search results pages that Linguist links to in the language bar. For example, this repository reports "3.7% HTML" usage but when clicking the link in the language bar to view those files, GitHub says it couldn’t find any code. To view those files the user has to click the HTML+EEX link in the languages sidebar.
Ideally names within language groups would be combined in the link's search query but I'm not sure if GitHub's web search endpoints support this. Another idea is to have the most prevalent extension within the language group take precedence. So if I mostly have EEx templates in my repo, the "HTML" link would pass a
l=html%2Beex
query instead ofl=html
.URL of the affected repository:
All repositories with files containing prefixed file extensions that are aggregated into language groups (
.html.erb
,.html.eex
, etc.)Last modified on:
2019-07-27
Expected language:
N/A
Detected language:
N/A
The text was updated successfully, but these errors were encountered: