Reputation: 62784
I have Prefer strict mode enabled, so IDEA injects 'use strict'; into functions. But why not inject it as the first line in my file?
Is there any problem with it? If no - how to tell IDEA to do it?
Upvotes: 1
Views: 356
Reputation: 16089
You can create your own like I did here. It will appear inside the File.
It initially didn't show up, but after restart I could see the new file type.
Upvotes: 1