-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
I've come across what I think is a bug (although could be a design choice) whereby autocompletion in IEx does nothing if it is a struct. Take for example the following
defmodule MyStruct do
defstruct my_val: "val"
endIn IEx, I am able to do MyStr and hit tab and autocompletion works fine, but if I prefix that with a % autocompletion stops working.
Whilst this is obviously not a major issue, it gets quite annoying. I've got a fix running on a local copy of Elixir which simply replicates the functionality of the strip_ampersand/1 function but to strip the percentage character instead.
Running against Elixir 1.4.0-dev (9a31d79)
Cheers
benwilson512 and ericentin