Using Language Injections

Swiftly inject a piece of code in a different language.

Want to inject a code fragment in a language different from the main language of the file, like an HTML string in a JavaScript file? Press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), select Inject Language or Reference, and then pick a language from the list.


Related Resources

Clean Up Messy Imports With Optimize Imports
Clean Up Messy Imports With Optimize Imports
Quickly remove any unused imports and more.
Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Find in Path with the Navigation Bar
Find in Path with the Navigation Bar
Use the Navigation bar and Find in File together and be faster than all of your team members.