Skip to main content
Participating Frequently
February 11, 2017
Answered

Selecting a Tag in Code View

  • February 11, 2017
  • 1 reply
  • 722 views

Hi,

How can I select a tag in Code View when I'm in the middle of it using only the keyboard?  For example, if I'm adding a class, how can I select the tag such that I can wrap it with Control-T?

When my cursor is at the | spot

<input class="added class|" type="submit">

I'd like to press a shortcut to have <input> selected.  Then, I'd like to be able to Control-T to wrap in a <div> or Control-[ to move to a parent.

Thank you

    This topic has been closed for replies.
    Correct answer pziecina

    I don't, i use the mouse.

    With the updating of the code editor in Dw 2017 to an implementation of the Brackets code editor, i have found it safer to not use the keyboard shortcuts.

    My reason for doing so was that a number of them have changed, and i kept using the old shortcuts, so except for the basic ones that tend to work the same across all programs, i stopped using them until i have time to relearn, (probably never).

    There has been a number of complaints about all the changes, but the old code editor had i think reached it EOL. I doubt very much if they will remap to the old shortcuts, as the open source brackets editor and the new Dw implementation is supposed to remain in sync from now on.

    You could file a feature request, (in the help menu) if a shortcut you wish to use is missing, or for any other feature you think should be included.

    1 reply

    pziecina
    Legend
    February 11, 2017

    The keyboard shortcuts supported by Dw are -

    https://helpx.adobe.com/dreamweaver/using/keyboard-shortcuts.html

    BekwamAuthor
    Participating Frequently
    February 11, 2017

    I tried a bunch of the shortcuts on the link you provided, but none of them seemed to select the enclosing tag.  Which one do you use?

    pziecina
    pziecinaCorrect answer
    Legend
    February 11, 2017

    I don't, i use the mouse.

    With the updating of the code editor in Dw 2017 to an implementation of the Brackets code editor, i have found it safer to not use the keyboard shortcuts.

    My reason for doing so was that a number of them have changed, and i kept using the old shortcuts, so except for the basic ones that tend to work the same across all programs, i stopped using them until i have time to relearn, (probably never).

    There has been a number of complaints about all the changes, but the old code editor had i think reached it EOL. I doubt very much if they will remap to the old shortcuts, as the open source brackets editor and the new Dw implementation is supposed to remain in sync from now on.

    You could file a feature request, (in the help menu) if a shortcut you wish to use is missing, or for any other feature you think should be included.