The WebStorm team
WebStorm 2016.2: Drag Files into HTML and Quote Style
<script src="file_name.js"></script> tag inside the head tag in the HTML file. For CSS files it will add
<link rel="stylesheet" href="file_name.css">:
Drag an image into a specific place inside the HTML body to add an
img tag with width and height attributes:
You can configure whether you’d like to have double or single quotes in this generated code in Preferences/Settings | Editor | Code Style | HTML – Other – Generated quote marks.
That would actually also affect all quotes added, thanks to code completion, for example when you type
<div class=""></div>. If you enable the Enforce on reformat option, the quotes will be replaced according to the selected style with the Reformat code action (Alt+Cmd+L on macOS, Ctrl+Alt+L on Windows and Linux).
Subscribe to Blog updates
Thanks, we've got you!
Nx Console Idea: A Must-Have JetBrains IDE Plugin for Nx Developers
This is a guest blog post by Issam Guissouma, developer of the Nx Console Idea plugin.
FOMO Digest #3: Top 7 Features for React Development in JetBrains IDEs
The third edition of our FOMO digest with tips on using React in JetBrains IDEs.