Team LiB   Previous Section   Next Section

F.7 CSS

The CSS Language Service provides two extra property pages. The first is called CSS Specific:

Show statement completion pop ups

If enabled, the editor will display a list of available properties and property values for the CSS style that you are editing.

Show property description tooltips

Shows a tooltip description of the property you are editing.

Detect errors

This property enables the next two settings to be used.

Detect unknown properties

Causes unknown properties to be highlighted with a red wavy line drawn underneath the text of the property.

Detect invalid values

Causes invalid property values to be highlighted with a red wavy line drawn underneath the text of the property value.

The second page contains CSS Format settings:

Style

This can be one of three values. If Compact Rules is selected, all CSS declarations appear on a single line. If Semiexpanded is selected, the name of the rule and the opening bracket appear on a single line, and each of the attributes appears on its own line. Expanded (which is the default) is similar to Semiexpanded, but it also causes the beginning bracket to appear on its own line,

Capitalization

If you select Lowercase (the default), the CSS editor will force all text to be lowercase. The other options—Uppercase and As Entered—are equally self-explanatory.

    Team LiB   Previous Section   Next Section