History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-13853
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Pegov
Reporter: Evan Leonard
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

HTML intention "Surround with <tag></tag>" should respect html inline elements code style property

Created: 26 Jan 07 00:09   Updated: 06 Nov 08 23:25
Component/s: HTML.Editing
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,656
Severity: Medium


 Description  « Hide
when I use the surround with intention in html I often end updoing this

1. highlighting the tag i want to surround
2. running the intention to add a surrounding tag like a div
3. arrow keying over to the end of the new open tag, adding a linebreak and a tab
4. arrow keying to the new closing tag and adding a line break before it

Only tags in the "inline elements" property in the html code style should be put in a single line by the intention. All other tags should have their open and closing tags put on new lines and have the surrounded html tabbed in so the result looks like this

<newtag>
<oldhtml>...</oldhtml>
</newtag>

instead of the now current behavior of:

<newtag><oldhtml>...</oldhtml></newtag>

This would make the "surround with <tag></tag>" intention alot more useful!



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.