|Macintosh & Dreamweaver (Help a new mac webmaster?)|
New line "enter/return" does not retain indentation :(
One of the quirks that's driving me a little nuts about macintosh dreamweaver is that when I press enter while coding, the cursor resets to the left margin. I'd prefer that it kept the current indent level one line lower (like on PC by default).
Does anyone know if there is a preference or setting I'm missing somewhere?
Dreamweaver MX or earlier?
MacOs 9 or X?
You mean in the Code window, rather than the Design window?
Here's one possible answer for MX in MacOsX....
Have you turned on "indent" in the Code Format in Preferences?
With that turned on, <enter> in the Code window should correctly indent you for the number of levels of HTML you're in
Another thing to keep in mind is that on a Mac there's a difference between the return and enter keys. Not sure if that's the fix for your situation, though.
Sorry for the belated replies.
I'm on OSX & the latest version of Dreamweaver. Also I'm only working in the code window. I do have the indent preference turned on via dreamweaver w/out autowrap. I've just gotten accustomed to the slightly decreased productivity at this point, would be great if there were a way to fix it.
Timster, I unfortunately enter/return w/in dreamweaver just switches between a carriage return and inserting a <br> tag.
Well, when I use MX on OS 10.3.6, then both the return key and enter key (when pressed in the code window) take me to the appropriate level of indent commensurate with the HTML nesting.
In the Prefs I've got indent ticked, spaces, 1 space, tab at 4 and auto-wrap.
And it seems fine.
Curious indeed :) Just tried those settings also, still no go. I've just reformatted about 3 weeks ago so everything should be at default preference wise. "Murphy" says it's something silly and stupid that I'm missing, but I sure I don't know what it is.
|enter/return w/in dreamweaver just switches between a carriage return and inserting a <br> tag. |
Well, hey, that's a pretty cool feature right there.
From the "half solutions" department: have you tried holding down shift, option, command, and/or control when you hit return or enter?