[email protected] (D VanderWall) wrote on  3/20/09  2:33 AM

>Coda does this and I love it. Here's what I think Robert is talking
>about:
>
>http://www.vimeo.com/3773809
>
>Is there a way to do this in BBEdit? Ah! I turned off auto-complete in
>BBEdit a long time ago because it kept trying to guess stuff when I
>would pause in the middle of a word. Now I see that I can exclude
>dictionary words. Still, BBEdit doesn't do it as well as what you see
>in my example above, at least not that I can find. (It doesn't plug in
>the parameters like Robert was talking about.)

While this kind of autocompletion is not automatic for all tags 
in BBEdit, as others have pointed out, clippings can do this for 
you easily but you will have to set up a clipping for each tag 
you use.

Among the advantages to doing this with clippings is that you 
can wrap a selection or even contents of the current clipboard 
with a complete tag. I can select dozens of text blocks (from a 
client's Word doc, for example) and with a single keystroke, 
wrap each one in its own <p> tag. I don't have to select each 
paragraph block individually.

The same clipping can be smart enough to insert a complete empty 
tag or wrap the tag around content, depending on the environment.

Also with clippings, you can not only wrap content with a 
complete tag but also add attributes. For example, I can select 
a page full of content and use a single keystroke to wrap the 
content in a <div> tag, add  class="" to the tag, and position 
the cursor between the quote marks ready to type my class name.

Ken

-- 
Simple Lives Web Design
http://simplelives.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to