[Webkit-unassigned] [Bug 68161] Web Inspector: Provide completions for object literals, arrays and functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 15 09:31:54 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68161





--- Comment #3 from tonistiigi at gmail.com  2011-09-15 09:31:54 PST ---
No it will not. Because / is in the ExpressionStopCharacters array.

RegExp("['\"]"). will work fine now though. 

I realize that there are probably many more constructs like this and they all can't be supported but arrays. objects and functions are very frequently used.

I think one of the best use cases for console is not to just type in variables but people use it to quickly try out some new ideas. The prompt should help them out as much as it can. For example I also think functions should complete to arguments array if it is available.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list