|
27 | 27 | define(function (require, exports, module) { |
28 | 28 | "use strict"; |
29 | 29 |
|
30 | | - var AppInit = brackets.getModule("utils/AppInit"), |
31 | | - ExtensionUtils = brackets.getModule("utils/ExtensionUtils"), |
32 | | - CodeHintManager = brackets.getModule("editor/CodeHintManager"), |
33 | | - CSSUtils = brackets.getModule("language/CSSUtils"), |
34 | | - HTMLUtils = brackets.getModule("language/HTMLUtils"), |
35 | | - LanguageManager = brackets.getModule("language/LanguageManager"), |
36 | | - TokenUtils = brackets.getModule("utils/TokenUtils"), |
37 | | - StringMatch = brackets.getModule("utils/StringMatch"), |
38 | | - ColorUtils = brackets.getModule("utils/ColorUtils"), |
39 | | - CSSProperties = require("text!CSSProperties.json"), |
40 | | - properties = JSON.parse(CSSProperties); |
| 30 | + var AppInit = brackets.getModule("utils/AppInit"), |
| 31 | + ExtensionUtils = brackets.getModule("utils/ExtensionUtils"), |
| 32 | + CodeHintManager = brackets.getModule("editor/CodeHintManager"), |
| 33 | + CSSUtils = brackets.getModule("language/CSSUtils"), |
| 34 | + HTMLUtils = brackets.getModule("language/HTMLUtils"), |
| 35 | + LanguageManager = brackets.getModule("language/LanguageManager"), |
| 36 | + PreferencesManager = brackets.getModule("preferences/PreferencesManager"), |
| 37 | + TokenUtils = brackets.getModule("utils/TokenUtils"), |
| 38 | + StringMatch = brackets.getModule("utils/StringMatch"), |
| 39 | + ColorUtils = brackets.getModule("utils/ColorUtils"), |
| 40 | + CSSProperties = require("text!CSSProperties.json"), |
| 41 | + properties = JSON.parse(CSSProperties); |
| 42 | + |
| 43 | + |
| 44 | + PreferencesManager.definePreference("codehint.CssPropHints", "boolean", true); |
41 | 45 |
|
42 | 46 | // Context of the last request for hints: either CSSUtils.PROP_NAME, |
43 | 47 | // CSSUtils.PROP_VALUE or null. |
|
0 commit comments