This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168563

Summary: Image dimensions for HTML code completion
Product: web Reporter: testerro <testerro>
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description testerro 2009-07-14 16:14:21 UTC
Code completion should be able to automatically fill in the width and height of a picture while typing an <img> tag. For
example when I type:

<img src="/images/example.gif" width="

and press CTRL+SPACE Netbeans should check the width of the picture and automatically fill it in. The same goes for the
height of the picture. It would be a great time-saver, as it would eliminate the need to manually check the size of the
picture.
Comment 1 Tribal 2011-06-27 11:44:39 UTC
I agree with the above. Currently the code completion supports completing the SRC attribute, surely this should aid in the completion of the WIDTH and HEIGHT attributes.
Comment 2 junichi11 2013-01-14 16:37:12 UTC
I created a plugin for code completion of width and height[1]
Until official support is provided, it is possible to use this.
But it provides support for only html and php files.

[1] http://plugins.netbeans.org/plugin/46172/html-enhancement