- Introduction
- Understanding HTML
- Using the Reference Panel
- Using Code View
- Using Code Live View
- Setting Code View Options
- Entering HTML Code
- Using Code Hints
- Working with HTML Head Tags
- Inserting HTML Comments
- Using the Coding Toolbar
- Using Quick Tag Editor
- Using the Tag Inspector
- Using the Tag Chooser
- Opening Related Files
- Navigating to Related Code
- Setting Site Specific Code Hints
- Setting Code Hint Preferences
- Setting Code Format Preferences
- Setting Code Rewriting Preferences
- Setting Code Color Preferences
Using Code Hints
Code hints makes it easy to insert and edit code accurately in a variety of languages. Dreamweaver supports code hinting for the following languages and technologies: HTML, CSS, DOM, JavaScript, Ajax, Spry, Adobe ColdFusion, JSP, PHP (New! for functions, variables, and classes and tooltip help), MySQL, ASP JavaScript, ASP VBScript, ASP.NET C#, and ASP.NET VB. As you start to type code for a particular code type, the Code Hints popup menu appears to help you enter it correctly. When you type a right angle bracket (<), code hint displays HTML tag names. When you type a period (dot operator) after an object, code hint displays JavaScript code possibilities. Dreamweaver also provides code hinting for your own or third-party custom JavaScript classes that are not built in to the language. If Dreamweaver detects problems with your code, code hints doesn’t always work properly. Use the Syntax Error Information Bar to help you fix the code problems.
Use Code Hints
- Open the Web page you want to view code.
- Place the insertion point where you want to add code.
- Start to type the code you want or press Control+Spacebar to manually display the code hints popup menu.
- Scroll through the list by using the scroll bar or pressing the Up Arrow and Down Arrow keys.
- To insert a code hint, double-click an item, or select it and then press Enter (Win) or Return (Mac).
- Press Backspace (Win) or Delete (Mac) to dismiss the list of code hints.
- To edit code, delete the code, and then start typing what you want to use for code hints.