-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
How can I disable filename abbreviations in the results of tab-autocompletion? #12105
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
Comments
Hum, my guess is this will be in It should not be too hard to fix (if that's actually the reason); or at least to test this function in isolation. Thanks for the report. |
Thanks for the info! I wonder if the problem is that the directory search is unexpectedly returning terminal slashes. This replicates the current, undesired behavior:
This would be better:
Is there a way to modify |
Hi, if this problem is still open, can I work on it? |
@Inception95 I don't know who gets to decide who works on things, but as far as I'm concerned you can. Let me know if you want me to provide more debugging info |
Anybody can work on anything they like.
I'll do my best to review PRs when I have time.
Thanks for expressing your interest!
…On Tue, Feb 11, 2020, 14:03 Chris Rodgers ***@***.***> wrote:
@Inception95 <https://github.com/Inception95> I don't know who gets to
decide who works on things, but as far as I'm concerned you can. Let me
know if you want me to provide more debugging info
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12105?email_source=notifications&email_token=AACR5T2JZ37S7Y57CUXI2U3RCMOBPA5CNFSM4KNZ72YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOILGQ#issuecomment-584877466>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACR5T5JQYNTI7QK45ZHSELRCMOBPANCNFSM4KNZ72YA>
.
|
Might be closed by #12122 (I need to re-check if it covers all the cases. |
Note 1: This is not the same tab-completion bug for which many issues have already been opened (the one where a massive number of objects from the global namespace are displayed). This issue specifically has to do with unwanted abbreviation of filename paths. I haven't yet found any other reports of this issue.
Note 2: I also posted this to stackoverflow but am posting again here since I didn't receive a response there yet.
https://stackoverflow.com/questions/59548675/how-can-i-disable-filename-abbreviations-in-the-results-of-tab-autocompletion-in
Issue begins now:
When I use tab-autocompletion to complete file paths in ipython, the results are not very useful because it abbreviates each path to just the first and last characters, separated by an ellipsis.
This is the result from pressing tab when there are 5 matches, each about 60 characters long.
These are the desired results, obtained with a previous version (see below):
I used 'readlinelike' autocompletions, but the results are the same using the 'column' or 'multicolumn' options for c.TerminalInteractiveShell.display_completions. I renamed my entire .ipython directory and created a new profile with all the default settings, so I don't think it is any weird setting that I have.
Here are the installed versions of some relevant modules:
If I downgrade to ipython=5.8.0 and prompt_toolkit=1.0.15, I get the desired behavior. So this is a good workaround for now, but I'd like to be able to stay up to date, or at least understand how to configure this behavior.
thanks!
The text was updated successfully, but these errors were encountered: