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
{{ message }}
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.
Due to the selection of the current file's language by file extension the plugin is not able to work when a file has a different extension than the standard one of the programming language. This is often the case when using frameworks: e.g. a Drupal Theme File is a PHP file with the file extension .theme but syntax highlighting etc. still are able to treat it as a PHP file.
Therefore the language detection mechanism should also or even primarily check by the syntax highlighting selected, through it is very common that a developer would set the correct language when opening a non-standard-extension. Afaik the syntax highlighting selection in atom (footer) is a core feature.
The text was updated successfully, but these errors were encountered:
chris-aeviator
changed the title
This language is not supported message on known language with non-standard-extension file
"This language is not supported" message on known language with non-standard-extension file
Oct 21, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to the selection of the current file's language by file extension the plugin is not able to work when a file has a different extension than the standard one of the programming language. This is often the case when using frameworks: e.g. a Drupal Theme File is a
PHP
file with the file extension.theme
but syntax highlighting etc. still are able to treat it as a PHP file.Therefore the language detection mechanism should also or even primarily check by the syntax highlighting selected, through it is very common that a developer would set the correct language when opening a non-standard-extension. Afaik the syntax highlighting selection in atom (footer) is a core feature.
The text was updated successfully, but these errors were encountered: