I’ve just converted a designer from Dreamweaver to ST2 (my plan is to have everyone in the office on ST2) and after seeing the autocomplete for CSS and HTML on my computer he felt he was prepared to switch over. However, he’s just realised that ST2 doesn’t have the convenient functionality that Dreamweaver did. In case you don’t know, Dreamweaver will autocomplete the ‘src’ attribute from the current file path, and also on confirmation of the autocomplete with fill in the ‘width’ and ‘height’ attributes too.
Presumably, making a plugin to produce an autocomplete dropdown for src=" trigger (maybe there’s even a scope for this, but doubtful) wouldn’t be too difficult for a decent plugin writer, and could even use the fuzzy search built into ST2, but what about getting an image’s width and height and inserting those into the page on confirmation of the autocomplete? Is this difficult or not possible?
Obviously if anyone fancies writing such a plugin we’d be grateful, but really I just care about how likely it is to be possible right now, and I could maybe have a go at writing my own (although my Python and knowledge of the ST2 API is very limited).