Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coding Shortcuts/snippets

New Here ,
May 26, 2017 May 26, 2017

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,

307
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 26, 2017 May 26, 2017
Translate
Community Expert ,
May 26, 2017 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!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2017 May 26, 2017

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2017 May 27, 2017
LATEST

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 & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines