Hmm, well I have a 1.5.2 here and: $ iex Interactive Elixir (1.5.2) - press Ctrl+C to exit (type h() ENTER for help) iex> s = String String iex> s.
And I hit <Tab> there (repeatedly) and nothing pops up. iex> String. And <Tab> repeatedly and nothing pops up either.. Oh, I think this might be a Windows thing. I have 1.5.2 installed on my Windows side (OTP 20), and I have 1.6.0-dev installed (OTP 21) on my linux side (I'm at work, 2 systems side by side). I cannot seem to get `<Tab>` to ever popup anything in `iex` on windows... Seems iex's autocomplete is broken there? On Wednesday, October 4, 2017 at 11:50:59 AM UTC-6, José Valim wrote: > > I am almost sure they were added on v1.5. It is even in the CHANGELOG: > https://github.com/elixir-lang/elixir/blob/v1.5/CHANGELOG.md > > > > *José Valimwww.plataformatec.com.br > <http://www.plataformatec.com.br/>Founder and Director of R&D* > > On Wed, Oct 4, 2017 at 7:25 PM, OvermindDL1 <[email protected] > <javascript:>> wrote: > >> Heh, I tried it on my 1.5.1 install but those did not work, however they >> do work in my 1.6.0-dev install, whoo! >> >> Added recently I'm guessing? >> >> On Wednesday, October 4, 2017 at 8:31:19 AM UTC-6, José Valim wrote: >>> >>> We already do for maps: >>> >>> iex(1)> map = %{foo: 1} >>> %{foo: 1} >>> iex(2)> map. >>> >>> and atoms: >>> >>> iex(1)> map = Map >>> Map >>> iex(2)> map. >>> >>> >>> >>> >>> *José Valimwww.plataformatec.com.br >>> <http://www.plataformatec.com.br/>Founder and Director of R&D* >>> >>> On Wed, Oct 4, 2017 at 4:15 PM, OvermindDL1 <[email protected]> wrote: >>> >>>> Hmm, although iex autocompleting something like that when it is a map, >>>> keyword list, or an atom/tuple would be quite nice and entirely doable. >>>> PR's welcome I'm sure. ^.^; >>>> >>>> On Wednesday, October 4, 2017 at 4:10:58 AM UTC-6, José Valim wrote: >>>>> >>>>> Elixir is not an object-oriented language. You can't really do >>>>> something like: >>>>> >>>>> x = "foo" >>>>> x.casefold >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *José Valimwww.plataformatec.com.br >>>>> <http://www.plataformatec.com.br/>Founder and Director of R&D* >>>>> >>>>> On Wed, Oct 4, 2017 at 11:57 AM, andrei sura <[email protected]> >>>>> wrote: >>>>> >>>>>> >>>>>> I am new to elixir and still learning about using iex. >>>>>> For python there is this nice package called bpython which recognizes >>>>>> the type of a variable and can suggest functions from the class. >>>>>> >>>>>> Example: >>>>>> >>>>>> iex> Map. +TAB ==> list of functions available in the map class >>>>>> iex> x = Map.new >>>>>> iex> x. + TAB ==> nothing happens ( I expected list of functions >>>>>> available in the map class) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "elixir-lang-core" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/elixir-lang-core/045ba7a7-d2ae-409c-8f20-d8d8624cab12%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/elixir-lang-core/045ba7a7-d2ae-409c-8f20-d8d8624cab12%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "elixir-lang-core" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elixir-lang-core/ddad8b9e-6126-4edb-a4d7-eee25bfc8c20%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/elixir-lang-core/ddad8b9e-6126-4edb-a4d7-eee25bfc8c20%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "elixir-lang-core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elixir-lang-core/fe331015-fcf5-489c-be8a-c0026981ab55%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elixir-lang-core/fe331015-fcf5-489c-be8a-c0026981ab55%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/34f4ee1b-03df-4382-bc9b-b056135207b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
