mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix a bug where the hinter was not failing over to gueses. Added code to Session.getHints to detect when guesses are needed so the caller can get the guesses from tern and call getHints again.
This commit is contained in:
1 parent
3c1614b5e6
commit
8142ccdeb6
7 files changed
+181
-27
No files matched your search
@@ -38,7 +38,8 @@ define(function (require, exports, module) {
|
||||
TERN_COMPLETIONS_MSG = "Completions",
|
||||
TERN_GET_FILE_MSG = "GetFile",
|
||||
TERN_CALLED_FUNC_TYPE_MSG = "FunctionType",
|
||||
TERN_PRIME_PUMP_MSG = "PrimePump";
|
||||
TERN_PRIME_PUMP_MSG = "PrimePump",
|
||||
TERN_GET_GUESSES_MSG = "GetGuesses";
|
||||
|
||||
/**
|
||||
* Create a hint token with name value that occurs at the given list of
|
||||
@@ -212,5 +213,6 @@ define(function (require, exports, module) {
|
||||
exports.TERN_GET_FILE_MSG = TERN_GET_FILE_MSG;
|
||||
exports.TERN_CALLED_FUNC_TYPE_MSG = TERN_CALLED_FUNC_TYPE_MSG;
|
||||
exports.TERN_PRIME_PUMP_MSG = TERN_PRIME_PUMP_MSG;
|
||||
exports.TERN_GET_GUESSES_MSG = TERN_GET_GUESSES_MSG;
|
||||
exports.SUPPORTED_LANGUAGES = SUPPORTED_LANGUAGES;
|
||||
});
|
||||
Reference in new issue
Block a user