|
225 | 225 | * or if instead a tab character should be inserted into the editor. If omitted, |
226 | 226 | * the fallback behavior is determined by the CodeHintManager. The default |
227 | 227 | * behavior is to insert a tab character, but this can be changed with the |
228 | | - * CodeHintManager.setInsertHintOnTab() method. |
| 228 | + * insertHintOnTab Preference. |
229 | 229 | */ |
230 | 230 |
|
231 | 231 |
|
@@ -256,20 +256,6 @@ define(function (require, exports, module) { |
256 | 256 | PreferencesManager.definePreference("insertHintOnTab", "boolean", false); |
257 | 257 |
|
258 | 258 |
|
259 | | - /** |
260 | | - * Determines the default behavior of the CodeHintManager on tab key events. |
261 | | - * setInsertHintOnTab(true) indicates that the currently selected code hint |
262 | | - * should be inserted on tab key events. setInsertHintOnTab(false) indicates |
263 | | - * that a tab character should be inserted into the editor on tab key events. |
264 | | - * The default behavior can be overridden by individual providers. |
265 | | - * |
266 | | - * @param {boolean} Indicates whether providers should insert the currently |
267 | | - * selected hint on tab key events. |
268 | | - */ |
269 | | - function setInsertHintOnTab(insertHintOnTab) { |
270 | | - PreferencesManager.set("insertHintOnTab", insertHintOnTab); |
271 | | - } |
272 | | - |
273 | 259 | /** |
274 | 260 | * Comparator to sort providers from high to low priority |
275 | 261 | */ |
@@ -657,5 +643,4 @@ define(function (require, exports, module) { |
657 | 643 | exports.isOpen = isOpen; |
658 | 644 | exports.registerHintProvider = registerHintProvider; |
659 | 645 | exports.hasValidExclusion = hasValidExclusion; |
660 | | - exports.setInsertHintOnTab = setInsertHintOnTab; |
661 | 646 | }); |
0 commit comments