Open prescottprue opened 8 years ago
+1
+1
+1
Is it possible to have an option to default to a particular type ? This happens to me also, and I have to keep manually selecting JSX as the filetype
I currently have the opposite problem, that normal JS files without JSX are being opened as JSX. I'd rather indicate JSX files by using the extension .jsx
and have all .js
files open as regular JavaScript but I can't find any settings related to file extensions for either language.
A file that contains JSX and has a
.js
extension is highlighted as normal Javascript (not with JSX). This has only started happening recently, and was working fine on these types of files until a few days ago.Maybe something changed within my editor to cause this, but it seems like it is related to how file type/syntax is detected with
language-javascript-jsx
.