PhpStorm How to Automatically Determine Dimensions of Image
I moved from Dreamweaver to PhpStorm for my PHP/HTML/CSS development. There is a cool feature in Dreamweaver where you开发者_JS百科 can drag an image from the file explorer into the code and it would generate the <img>
tag with the appropriate width and height dimensions. Is there a way to do something similar in the PhpStorm IDE?
I've also asked this question on their forum.
Use Ctrl+Space code completion for attributes or Zen Templates and Tab key to expand values automatically. More details available in the forum reply.
精彩评论