Skip to content

Commit 10da30e

Browse files
committed
update docstring in hinter
1 parent 84b135b commit 10da30e

File tree

1 file changed

+4
-1
lines changed
  • client/modules/IDE/components/Editor

1 file changed

+4
-1
lines changed

client/modules/IDE/components/Editor/hinter.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ export function hideHinter() {
2121
CodeMirror.showHint(this._cm, () => {}, {});
2222
}
2323

24-
/** Shows a hint in the codemirror instance. */
24+
/**
25+
* Shows a hint popup in the codemirror instance.
26+
* It will only be visible if the user has autocomplete on in the settings.
27+
*/
2528
export function showHint(cmInstance, autocompleteHinter, fontSize) {
2629
if (!autocompleteHinter) {
2730
CodeMirror.showHint(cmInstance, () => {}, {});

0 commit comments

Comments
 (0)