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

Coding Shortcuts/snippets

New Here ,
May 26, 2017 May 26, 2017

Copy link to clipboard

Copied

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,

Views

297
Translate

Report

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

Votes

Translate
Community Expert ,
May 26, 2017 May 26, 2017

Copy link to clipboard

Copied

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, the only real Dreamweaver alternative.

Votes

Translate

Report

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

Copy link to clipboard

Copied

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

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Report

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