{"action":"created","issue":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/406","labels_url":"https://api.github.com/repos/fxbois/web-mode/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/406/comments","events_url":"https://api.github.com/repos/fxbois/web-mode/issues/406/events","html_url":"https://github.com/fxbois/web-mode/issues/406","id":54413054,"number":406,"title":"While editing html, expand css selector to tag with attributes","user":{"login":"shackra","id":1055216,"avatar_url":"https://avatars.githubusercontent.com/u/1055216?v=3","gravatar_id":"","url":"https://api.github.com/users/shackra","html_url":"https://github.com/shackra","followers_url":"https://api.github.com/users/shackra/followers","following_url":"https://api.github.com/users/shackra/following{/other_user}","gists_url":"https://api.github.com/users/shackra/gists{/gist_id}","starred_url":"https://api.github.com/users/shackra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shackra/subscriptions","organizations_url":"https://api.github.com/users/shackra/orgs","repos_url":"https://api.github.com/users/shackra/repos","events_url":"https://api.github.com/users/shackra/events{/privacy}","received_events_url":"https://api.github.com/users/shackra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fxbois/web-mode/labels/feature+request","name":"feature request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-15T05:06:03Z","updated_at":"2015-01-15T13:07:50Z","closed_at":null,"body":"While you are editing an HTML/template document, it would be cool to write `tag.classname` or `tag#idname` and then pressing <kbd>TAB</kbd> to expand it to `<tag class=\"classname\"></tag>` or `<tag id=\"idname\"></tag>` respectively.\r\n\r\nHopefully without conflicting with yasnippet if turned on..."},"comment":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/comments/70082883","html_url":"https://github.com/fxbois/web-mode/issues/406#issuecomment-70082883","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/406","id":70082883,"user":{"login":"NateEag","id":837719,"avatar_url":"https://avatars.githubusercontent.com/u/837719?v=3","gravatar_id":"","url":"https://api.github.com/users/NateEag","html_url":"https://github.com/NateEag","followers_url":"https://api.github.com/users/NateEag/followers","following_url":"https://api.github.com/users/NateEag/following{/other_user}","gists_url":"https://api.github.com/users/NateEag/gists{/gist_id}","starred_url":"https://api.github.com/users/NateEag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateEag/subscriptions","organizations_url":"https://api.github.com/users/NateEag/orgs","repos_url":"https://api.github.com/users/NateEag/repos","events_url":"https://api.github.com/users/NateEag/events{/privacy}","received_events_url":"https://api.github.com/users/NateEag/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T13:07:50Z","updated_at":"2015-01-15T13:07:50Z","body":"@shackra I use [emmet-mode](https://github.com/smihica/emmet-mode) to get that and a lot more.\r\n\r\nI don't have it bound to <kbd>TAB</kbd>, so I can't give you advice on getting that set up.\r\n\r\nGiven emmet-mode's existence, I'm not sure it would be worth the effort to add this to web-mode. Of course, that's @fxbois's call."}}