Skip to main content
Participant
May 26, 2017
Answered

Coding Shortcuts/snippets

  • May 26, 2017
  • 2 replies
  • 376 views

Hi,

I'm currently watching the tutorial videos. The speaker simply presses types the code (e.g. nav), then presses space bar, and the dreamweaver adds all the opening and closing brackets. Why doesn't it work when I do the same?

Regards,

This topic has been closed for replies.
Correct answer BenPleysier

Sorry, I should have added Learn how to reuse code in Dreamweaver with the Snippets panel

2 replies

Nancy OShea
Community Expert
Community Expert
May 27, 2017

There is also the Emmet shortcuts which are really handy for routine coding tasks.  One example, on a blank document, type an exclamation mark ! followed by the tab key.    Instant HTML5 document.

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <title>Document</title>

</head>

<body>

   

</body>

</html>

Between the <body> tags, type

p*5>lorem & hit the tab key.  Voila!  5 paragraphs of placeholder text.   The list of things you can do with Emmet shortcuts is almost endless.  Read more about ti below. 

Faster Coding with Emmet in Dreamweaver CC | Creative Cloud blog by Adobe

Nancy

Nancy O'Shea— Product User & Community Expert
BenPleysier
Community Expert
Community Expert
May 26, 2017

Press SHIFT+F9 which will open the Snippets panel. When you click on a snippet and press enter, the code will be placed into your document.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
May 26, 2017
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!