Is somebody looking into typeaware completion? I think it would be really nice feature to have:
array=[1,2]
mean( #if you hit tab / ctrl+space now, 'array' shows between first candidates
It would be also nice to have the same thing for objects like OOP languages, but since julia does’t support syntax object.function, you cannot easily list all possible functions that can be applied to given object (aka methods). The only thing that comes to my mind is |>.
array=[1,2]
array |> #if you hit tab / ctrl+space now, 'mean', 'sort' etc shows between candidates
But that wouldn’t work for functions with multiple arguments…
So in case somebody already explored this a little bit, could you share with us some insights?
- How complicated is it to implement such a thing?
- Would it be lightweight enough to be included in REPL?
- Any workaround for the missing OOP syntax?
- Anything else that should be mentioned?