# How to discover functions which apply to a given object?

**URL:** <https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [February 22, 2019, 5:15pm UTC](https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087 "2019-02-22T17:15:22Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jonathanBieler](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jonathanBieler](https://discourse.julialang.org/u/jonathanBieler)\
**Post date:** [February 22, 2019, 7:27pm UTC](https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087/8 "2019-02-22T19:27:52Z")

</div>

At some point I did a prototype of “tuple completion”, basically you would write the arguments of a method in parenthesis (e.g. `(x, 1)` where x is a Set) and on tab it would show you all the methods with that type signature, with `(x,...)` being equivalent to `methodswith`. Completion would then add the method name in front of the tuple, making it a valid function call.

I didn’t find it that useful though (it was a bit buggy admittedly). But since `InteractiveCodeSearch` seems to provide everything you would need to do that kind of search it wouldn’t be very hard to implement it again in an editor.

You could have a lighter syntax, e.g `x)` alone would trigger `methodswith`, like `f(` triggers `methods`.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087)._
