kratko.js icon indicating copy to clipboard operation
kratko.js copied to clipboard

Ability to quickly analyse objects within a given context

Open wheresrhys opened this issue 14 years ago • 1 comments

Kratko's a really great idea for a tool, and already works pretty well. My one bugbear is that I have to keep on typing in the full name of objects which, particularly in large apps, can be convoluted and involve.

What would be useful would be the ability to type in the name of an object/namespace in which all your objects are kept, and then select the objects from a dropdown to analyse them.

So, if my app has a structure like window.MyNamespace = {} MyNamespace.Widget1 = { ... } MyNamespace.Widget2 = { ... }

Then I can type in "MyNamespace" into a field, and a drop-down displays a list of the subobjects.

wheresrhys avatar Jun 13 '11 22:06 wheresrhys

Yep. Sounds like a good idea! Feel free to take a stab at it, if you want. I might tinker with it later to see what I can do.

kangax avatar Jun 13 '11 23:06 kangax