As mentioned by Fung in issue #7526 - Evaluate how to handle shell command lines that parser fails to recognize for autocompletion, adding case (3) separately here.
(3) ~ auto-completion
(3-1) prompt$ ls ~<TAB>
(3-2) prompt$ ls ~ <TAB>
(3-3) prompt$ ls ~a<TAB>
In fluid shell, above commands generate nothing.<---As in ADStudio 12 RC 22-4, case (3-2) works OK
On UNIX, for case 3-1 (no space between ~ and <TAB>), a list of users is displayed (retrieved from /etc/passwd). If user's home directory does exist on the system (/etc/passwd has a column for this), then a file separator is appended to that user's name.
On UNIX, for case 3-2 (there is a space between ~ and <TAB>), the list of files under the working directory is displayed.
On UNIX, case 3-3 is similar to case 3-1, all of users with name starts with letter 'a' is displayed.
I discussed this with Larion and Fung, and we've decided that we will do nothing at this time. Otherwise we would need to display a list of users in the system. There is not Java API to do this, and FluidShell runs on Windows, Linux and OSX. Current evaluation is that this is an expensive feature with little values, so I'll push this to 16.0 for reevalation.
Issue #7730 |
New |
Completion |
No due date |
No fixed build |
No time estimate |
1 issue link |
relates to #7526
Issue #7526Evaluate how to handle shell command lines that parser fails to recognize for autocompletion |
I discussed this with Larion and Fung, and we've decided that we will do nothing at this time. Otherwise we would need to display a list of users in the system. There is not Java API to do this, and FluidShell runs on Windows, Linux and OSX. Current evaluation is that this is an expensive feature with little values, so I'll push this to 16.0 for reevalation.