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
@@ -182,7 +182,9 @@ define(function (require, exports, module) {
|
||||
query = "";
|
||||
|
||||
if (token) {
|
||||
if (token.string !== "." && token.string !== "(" && token.string !== ',') {
|
||||
// If the token string is not an identifier, then the query string
|
||||
// is empty.
|
||||
if (HintUtils.maybeIdentifier(token.string)) {
|
||||
query = token.string.substring(0, token.string.length - (token.end - cursor.ch));
|
||||
query = query.trim();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user