Hi there,
just a little suggestion regarding the auto-completion of HTML tags (and possibly others; the parenthesis on PHP methods get auto-inserted even if they already (positionally) follow the caret).
As expected, typing the trailing > character causes the tag to auto-closed. For example:
Typing the right-angled bracket for <span> causes the editor to auto-insert </span>, which results in <span>|</span>.
All good so far, but say for example if you end-up modifying the starting <span> and then for whatever reason remove the > bracket, typing it again will cause the editor to once again complete it, resulting in <span>|</span></span>.
Proposal
The ending tag </span> (or whatever; just an example) should only be inserted if it doesn't immediately follow the caret, or maybe if there are no dangling tags of that type.
Don't Always Auto-complete End Tag
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Don't Always Auto-complete End Tag
http://www.bootblock.co.uk .:. http://software.bootblock.co.uk
Re: Don't Always Auto-complete End Tag
Ok, I understand your suggestion. I'll add it to the list.
Blumentals Software Programmer