mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
prime pump to improve first hint performance
This commit is contained in:
1 parent
58e693b854
commit
51805f0f8f
1 file changed
+3
@@ -397,6 +397,9 @@ define(function (require, exports, module) {
|
||||
ScopeManager.handleEditorChange(editor.document);
|
||||
session = new Session(editor);
|
||||
cachedHints = null;
|
||||
|
||||
// prime pump for hints so the first user request is fast
|
||||
ScopeManager.requestHints(session, session.editor.document, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user