netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Self closing tag with input/ instead of guessing

Open Chris2011 opened this issue 8 years ago • 0 comments

It would be great to have this feature implemented in this plugin.

I know that you don't need closing tags in HTML5 but or my perspective, I will still use it. So when I type:

Input -> TAB it exapands to which is ok but input is a self closing tag so if I type input -> TAB it should expanded to like many other stuff BUT when I type input/ -> TAB it should expanded to .

The idea doesn't come from be, you can see requests and problems here:

https://github.com/emmetio/emmet-atom/issues/408 (Comment https://github.com/emmetio/emmet-atom/issues/408#issuecomment-311660190)

https://github.com/emmetio/emmet/issues/413 (Wish for JSX but as you can see in the first ticket, it should work for all tags)

The IDEA comes from JSX and custom tags/custom components where View was expanded to <View></View> in WebStorm (https://youtrack.jetbrains.com/issue/WEB-25937) so he wanted to have a self-closing custom component. But this guy, doesn't want it always: https://youtrack.jetbrains.com/issue/WEB-26468

So please add the functionality for my-custom-tag/ -> TAB -> and for normal tags too.

Regards

Chris

Chris2011 avatar Aug 09 '17 15:08 Chris2011