beautypg.com

Writing and editing code, Code hints, Supported languages and technologies – Adobe Dreamweaver CC 2015 User Manual

Page 377

background image

370

Coding

Last updated 6/3/2015

Writing and editing code

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

Code hints

The code hints feature helps you insert and edit code quickly and without mistakes. As you type characters in Code
view, you see a list of candidates that automatically complete your entry. For example, when you type the first characters
of a tag, attribute, or CSS property name, you see a list of options beginning with those characters. This feature
simplifies the insertion and editing of code. You can also use it to see the available attributes for a tag, the available
parameters for a function, or the available methods for an object.

Code hints are available for several kinds of code. When you type the beginning character of a particular code type, you
see a list of appropriate candidates. For example, to display a list of code hints for HTML tag names, type a right angle
bracket (<). Similarly, to display JavaScript code hinting, type a period (dot operator) after an object.

For best results, especially when using code hints for functions and objects, set the Delay option in the Code Hints
preferences dialog box to 0 seconds.

The code hinting feature also recognizes custom JavaScript classes that are not built in to the language. You can write
these custom classes yourself or add them through third-party libraries like Prototype.

The list of code hints disappears when you press Backspace (Windows) or Delete (Macintosh).

For a video tutorial on code hinting, see

www.adobe.com/go/lrvid4048_dw

.

For a video overview from the Dreamweaver engineering team about JavaScript support in Dreamweaver, see

www.adobe.com/go/dw10javascript

.

Supported languages and technologies

Dreamweaver supports code hinting for the following languages and technologies:

• Adobe ColdFusion

• Ajax

• ASP JavaScript

• ASP.NET C#

• ASP.NET VB

• ASP VBScript

• CSS2 and CSS3

• DOM (Document Object Model)

• HTML4 and HTML5

• jQuery (CS5.5 and later)

• JavaScript (includes custom class hinting)

• JSP

• PHP MySQL

• Spry