Adobe Dreamweaver CC 2015 Uživatelský manuál Strana 397

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 700
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 396
390
Coding
Last updated 6/3/2015
To access and edit these files, perform the following steps:
1 Click Edit > Preferences (Win) or Dreamweaver > Preferences (Mac).
2 Select Linting in the Category list.
3 In the Edit Rule Set section, click the required file type and click Edit & Apply Changes.
The corresponding configuration file opens in Dreamweaver.
4 Edit or add linting rules to the configuration files. Refer to the following documentation for more information on
linting rules:
HTML Linter: https://github.com/yaniswang/HTMLHint/wiki/Rules
CSS Linter: https://github.com/CSSLint/csslint/wiki/Rules
JS Linter: http://jshint.com/docs/options/
In these configuration files, you can also set the type of errors or warnings to be displayed. In JS configuration files,
you can also set the maximum number of errors to be found.
Linting results and the Output panel
The linting results - errors and warnings - are listed in the Output panel. The Output panel is available in the docked
mode at the bottom of all default workspaces. If the Output panel is closed, you can open it by performing one of the
following actions:
By clicking the linting status icon in the Document window status bar
Using the keyboard shortcut, Shift+F6
Using Window > Results > Output
The linting icon in the Status bar indicates the linting results:
Red - The current document has errors and warnings
Yellow - The current document has warnings only
Green - The current document has no errors
You can use the linting icon in the Status bar to also toggle the Output panel (open/close) if the icon is red or yellow (not
green).
Zobrazit stránku 396
1 2 ... 392 393 394 395 396 397 398 399 400 401 402 ... 699 700

Komentáře k této Příručce

Žádné komentáře