mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
fix bug where no hints would be provided after '('
This commit is contained in:
1 parent
01f6b2c496
commit
9bf0b9f7d2
1 file changed
+2
-2
@@ -173,14 +173,14 @@ define(function (require, exports, module) {
|
||||
query = "";
|
||||
|
||||
if (token) {
|
||||
if (token.string !== ".") {
|
||||
if (token.string !== "." && token.string !== "(" && token.string !== ',') {
|
||||
query = token.string.substring(0, token.string.length - (token.end - cursor.ch));
|
||||
query = query.trim();
|
||||
}
|
||||
}
|
||||
return query;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Find the context of a property lookup. For example, for a lookup
|
||||
* foo(bar, baz(quux)).prop, foo is the context.
|
||||
|
||||
Reference in new issue
Block a user