0

Is it possible to set a specific language for a single file? Let's say, I want to treat all *.js files as *js, but this single one as React JSX.

I found File Types, but it sets all the files with the extension, what is not my intention

Vladyslav Zavalykhatko
  • 15,202
  • 8
  • 65
  • 100

1 Answers1

1

It's not possible. You can use ⇧⌘A -> New Scratch File, create a scratch for the specific language and perform the editing, but next, you will need to copy contents to the actual file.