Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

"This language is not supported" message on known language with non-standard-extension file #90

Open
chris-aeviator opened this issue Oct 21, 2017 · 0 comments

Comments

@chris-aeviator
Copy link

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.

syntax_highlighting

@chris-aeviator 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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant