Skip to content

Commit 241eba9

Browse files
committed
feat: auto update API docs
1 parent ea3fb33 commit 241eba9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/API-Reference/editor/CodeHintManager.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ insertHintOnTab Preference.
227227
* [.registerHintProvider(provider, languageIds, priority)](#module_CodeHintManager..registerHintProvider)
228228
* [.hasValidExclusion(exclusion, textAfterCursor)](#module_CodeHintManager..hasValidExclusion) ⇒ <code>boolean</code>
229229
* [.isOpen()](#module_CodeHintManager..isOpen) ⇒ <code>boolean</code>
230+
* [.showHintsAtTop(handler)](#module_CodeHintManager..showHintsAtTop)
231+
* [.clearHintsAtTop()](#module_CodeHintManager..clearHintsAtTop)
230232

231233
<a name="module_CodeHintManager..registerHintProvider"></a>
232234

@@ -263,3 +265,21 @@ Test if a hint popup is open.
263265

264266
**Kind**: inner method of [<code>CodeHintManager</code>](#module_CodeHintManager)
265267
**Returns**: <code>boolean</code> - - true if the hints are open, false otherwise.
268+
<a name="module_CodeHintManager..showHintsAtTop"></a>
269+
270+
### CodeHintManager.showHintsAtTop(handler)
271+
Register a handler to show hints at the top of the hint list.
272+
This API allows extensions to add their own hints at the top of the standard hint list.
273+
274+
**Kind**: inner method of [<code>CodeHintManager</code>](#module_CodeHintManager)
275+
276+
| Param | Type | Description |
277+
| --- | --- | --- |
278+
| handler | <code>Object</code> | A hint provider object with standard methods: - hasHints: function(editor, implicitChar) - returns true if hints are available - getHints: function(editor, implicitChar) - returns hint response object with hints array - insertHint: function(hint) - handles hint insertion, returns true if handled |
279+
280+
<a name="module_CodeHintManager..clearHintsAtTop"></a>
281+
282+
### CodeHintManager.clearHintsAtTop()
283+
Unregister the hints at top handler.
284+
285+
**Kind**: inner method of [<code>CodeHintManager</code>](#module_CodeHintManager)

0 commit comments

Comments
 (0)