Show parameters for native functions
Reported by
eor...@gmail.com,
Mar 1 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 Steps to reproduce the problem: 1. Log a native function ex: console.log What is the expected behavior? Show the type of arguments the function can take What went wrong? Does not show parameters Did this work before? No Chrome version: 48.0.2564.116 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 20.0 r0 Look at the picture, it explains and shows examples
,
Mar 2 2016
This would be really useful when learning new api's, just to see which arguments, optional and required and types a native implementation expects.
,
Mar 8 2016
,
Mar 8 2016
Just thought about it, a ? at the end could represent optional:
function someMethod(:String, :Array?) {}
,
Apr 29 2016
Just thought about this, perhaps it would be easier to implement (not absolutely sure, because Idk how this works) if there was a method just for the console that would log basically "docs" for each native method just how we have `$` short for querySelector and `$$` for querySelectorAll but only works in the console So: console.docs(fetch); // would output a whole bunch of useful info about the method
,
Aug 5 2016
Alexey, any opportunity we can show function arguments for some of the native functions? (those which are implemented in js)
,
Apr 19 2017
Issue 713157 has been merged into this issue.
,
Oct 16 2017
,
Sep 20
I believe this one is fixed by Joel. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by eor...@gmail.com
, Mar 1 2016