[thelist] what do you use to create code from layout?

Tamara Abbey Abbey at abbeyink.com
Wed Apr 4 11:32:33 CDT 2001


At 11:31 AM 4/4/2001 -0400, [aardvark] wrote:
>but when i'm typing in copy, or elements, i do the opening tag, the
>content, and the closing tag... but in HS (or others) tag completion
>automagically inserts the closing tag after my cursor, so when i get
>to the end, i still have to take some action to get past it, whether
>by arrowing, hitting something like 'end', or using my mouse to
>move the cursor...

I agree -- in homesite and probably in HKit, check the preferences and see 
where the default is. That can be customized fairly easily.

>also, when doing tables, i indent how i like, so when i hit a hard
>return, i want to be at the start of the next line, not tabbed in
>because i just used a </td> on the previous line... so i have to stop
>and untab/unspace...

Either turn off indent, adjust the number of spaces in indent, or, 
something I did once out of desperation when I couldn't find just the right 
preferences, adjust Tidy to no indents before you run it (codesweeper in HS).

>for the most part, the editors have inadequate page opening tags...
>no DTD, none of the meta tags i use, wonky order, gratuitous meta
>and other tags...

In HomeSite, just change it -- there's a default template located in the HS 
folder that I changed to reflect the XML DTD that I prefer. I believe you 
can do the same with HKit.

As far as metas -- I have HS set to leave those blank and then I add them 
when I'm ready. And, I edited the default page so the metas I want are 
there. There are no other meta tags and by taking 5 minutes to edit the 
default template, every single new page comes up just exactly as I like it.

>that and i don't have time to customize the code completion
>features, so i get capitalized tags, bad or missing attributes,
>attributes in the 'wrong' order (i have a preferred order for most
>attributes, so it's easier to code from the top of my head), bad
>spacing/tabbing... etc...

HS and HKit also (?) allow you to take a minute or two and either set the 
default to cap, or not, as well as customization for Tidy and/or Code 
Sweeper to make sure all is properly nested. Yes, I can write valid code, 
but there are enough times when I get something that's pretty mangled and 
well, code sweeper/Tidy takes 2 minutes.

It just comes down to whether or not you want to take a little time to 
learn the program enough to use it the way you like. And, I think that's 
going to be true of any editor. I have a few issues with Notepad even -- 
the whole text wrap thing -- ugh! It's a mess when I print out a script to 
try and figure out what went awry.





More information about the thelist mailing list