-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab completion for using
should look up installed packages
#4477
Comments
I don't think there really is a tab completion for Added link: #770 |
oh, I see -- it's tab completing any symbols that are exported, and those aren't actually things I can use with
Would writing this kind of code make sense at this point, or would it be better to wait until after the refactoring of the REPL to work on it? |
I do not know the status of releasing 0.2, but if we manage to get this written and approved before it is released, I think it would be worthwhile. REPL.jl will definitely not be introduced before 0.3. |
I spent some time looking for the code that handles the tab completion, but couldn't find it anything that looked promising in |
I think that you must find an entry point in ui/repl-readline.c. Maybe @simonster would be able to tell what function you should modify? |
|
definitely agree that it's confusing :) -- If I wrap my head around this, is there dev documentation where I could write it up? |
I love the idea of dev documentation. We don't have very much of it. Two possible venues are a blog post, or tacking on to the FAQ (final section of the manual). Also FYI after the 0.2 release I expect we'll soon be moving away from readline and using https://github.com/loladiro/REPL.jl. @jvns, it's an honor to have a "real Julia" among us! I was wondering when that would happen. As far as I know you're the first, so you should be entitled to hold the coveted "horned hat" trophy for a while, if Stefan can be persuaded to loan it to you :). |
I think it should be possible to complete |
Sounds like it would be better to wait until the new REPL to do this. |
Switching to the new REPL will be one of the first projects after we release 0.2. |
I just installed the
DataFrames
package. Before importing it, I get less tab completion options than after. I'd be interested in fixing this. Is there any reason why the tab completion can't work, or is this fixable?The text was updated successfully, but these errors were encountered: