autocomplete for html when typing </

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

autocomplete for html when typing </

Post by syrupcore »

Not the request some dreamweaver users have asked for where the software knows what's open and autocloses it as you type </. That'd be nice too. :)

More simply (I think), I'd just like the autocomplete to ignore that it's starting with a slash and offer the normal list of html tags. If I'm closing something manually, say a <table> tag, and I type </ the autocomplete list goes away. I'm looking for this: I type </t and all tags starting with t are available in the autocomplete list (and leave the backslash in). I hope that makes sense.

Thank you,
will
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Post by Gatis »

Thank you, Will, for your suggestion.
I think it is reasonable request, and actually something alike I had in my mind already. I will talk with Karlis about adding this in to the to-do list.

However, what do you and others would like to have better:
1) auto-complete list of one item, listing the closest open tag
2) auto-complete list of all tags, but (not sure if this will be possible), having the appropriate open tag selected already

The filtering of a list probably won't be implemented at this moment. We have it only for the php built-in function list, because it is huge.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

I'd prefer option 2) but 1) would be great too! Both are above and beyond what I was asking for.

I think (haven't tried it yet) I might be able to get what I was asking for by editing a local text file. just copying each html tag in the html def text file and adding a / to the beginning. I think that'll work. I'll report back.
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Post by Gatis »

Ok, thanks for feedback. I think changing the definition file won't work here, because the editor still would not recognize "</" in order to show auto-complete list. So we need to change to code.
Post Reply