That's right. This has nothing to do with Fruit being a submodule and everything about it being a binding in Food that's not exported and therefore not part of Food's externally facing interface.
On Thu, Aug 25, 2016 at 3:03 AM, Yichao Yu <[email protected]> wrote: > > > On Thu, Aug 25, 2016 at 2:50 PM, Tony Kelman <[email protected]> wrote: > >> What version of Julia are you on? My memory might be hazy but there's a >> chance this has been implemented recently on master? If not, then this does >> sound like it would be useful to implement. >> > > I believe imported and unexported symbols are intentionally not included > in the auto completion. > > >> >> >> >> On Wednesday, August 24, 2016 at 4:49:50 PM UTC-7, Miguel Goncalves wrote: >>> >>> In the Julia REPL if I have a super-module Food which loads in a >>> sub-module Fruit, >>> >>> module Food >>> >>> using Fruit >>> >>> include("nutrition.jl") >>> export carbohydrate >>> export fat >>> export protein >>> >>> end >>> >>> then pressing tab after typing, >>> >>> Food. >>> >>> I get the list, >>> >>> carbohydrate fat protein >>> >>> But the sub-module Fruit does not show up for tab completion. However, >>> after manually typing, >>> >>> Food.Fruit. >>> >>> I do have tab completion for everything which is exported by the Fruit >>> sub-module. >>> >>> Could this behavior be changed to support tab completion for sub-modules >>> names? This will facilitate working with nested modules. >>> >> >
