mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
When typing, only automatically show hints for the "." character and JS identifier characters.
This commit is contained in:
1 parent
725a1e8553
commit
f6a073ca3d
4 files changed
+63
-51
No files matched your search
@@ -460,6 +460,8 @@ define(function (require, exports, module) {
|
||||
expectHints(JSCodeHints.jsHintProvider, ".");
|
||||
});
|
||||
|
||||
/* Single quote and double quote keys cause hasHints() to return false.
|
||||
It used to return true when string literals were supported.
|
||||
it("should list implicit hints when typing string literals (single quote)", function () {
|
||||
testEditor.setCursorPos({ line: 9, ch: 0 });
|
||||
expectHints(JSCodeHints.jsHintProvider, "'");
|
||||
@@ -469,7 +471,7 @@ define(function (require, exports, module) {
|
||||
testEditor.setCursorPos({ line: 9, ch: 0 });
|
||||
expectHints(JSCodeHints.jsHintProvider, "\"");
|
||||
});
|
||||
|
||||
*/
|
||||
it("should give priority to identifier names associated with the current context", function () {
|
||||
testEditor.setCursorPos({ line: 16, ch: 0 });
|
||||
var hintObj = expectHints(JSCodeHints.jsHintProvider);
|
||||
|
||||
Reference in new issue
Block a user