mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
new guessing
This commit is contained in:
1 parent
3107c979c7
commit
c887e8760f
5 files changed
+90
-4
No files matched your search
@@ -336,8 +336,7 @@ define(function (require, exports, module) {
|
||||
type.property !== cachedType.property ||
|
||||
type.context !== cachedType.context ||
|
||||
type.showFunctionType !== cachedType.showFunctionType ||
|
||||
query.length === 0 ||
|
||||
(cachedHints.length === 0 && query.length === 2)) { // FIXME: length of 2 is special because that is when tern starts guessing
|
||||
query.length == 0) {
|
||||
var offset = session.getOffset(),
|
||||
scopeResponse = ScopeManager.requestHints(session, session.editor.document, offset),
|
||||
self = this;
|
||||
|
||||
Reference in new issue
Block a user