-
Notifications
You must be signed in to change notification settings - Fork 8.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
I think that you probably should add autocompletion functions #1341
Comments
This is the responsibility of the shell. For example, PowerShell has a very powerful tab completion feature. CMD does not, and we are not going to change that. |
PowerShell has a 'very powerful' tab completion feature? Where did you get this idea? Have you ever used a terminal on linux or mac? Granted the tab completion in powershell is very good voor command options but for the base command it is horrible:
On powershell
Sure the default console applications on windows needed a UI overhaul. |
You might want to take a look at the (works in normal powershell, in the new terminal currently #879 causes it to not get triggered) |
Hi flaiker, thank you very much. I never realized powershell has this hidden gem. |
Most of us have been using a bunch of different shells for quite a while. Please give us the benefit of the doubt. There are a bunch of different ways to do tab completion, and powershell is still trying to appeal to Windows users who like the “cycling” completion style. We can’t change that default without breaking so many people’s workflows. They really hate when we do that! |
DHowett, I understand that you want to keep the cycling style (even as a default). But I thought part of the goal of the terminal was to create an appealing environment for sys admins and developers. That audience have indeed been using shells on all kind of platforms. Various half baked solutions for better tab behaviour have been implemented for as long as the windows dominance has started to fade among developers (late 200X). |
The core problem here is that it’s just outside of Windows Terminal’s control. Terminal is just a window through which you communicate with text-mode applications. We speak with the team that owns powershell, and they’re generally receptive to discussions over on their GitHub repository. |
Well my hope is that terminal will bring Windows terminal experience on par (or ahead) of other platforms. Keep up the good work. |
PowerShell has EMACS, VI and Windows mode commandline editing experience with the PSReadline module, with inline editing, ctrl+r reverse history search etc etc, just like bash and others. It's been around a long time and ships in-box these days, so perhaps you're judging your experiences from using older versions of powershell on crusty windows servers. |
Oising, my apologies. PS-readline was one of the last things I tried before I gave up on powershell (must have been a couple of years ago). I did not realize how far it has come (but as it took serveral days and persons before someone mentioned it I guess I'm not alone). So the issue is no longer to implement it but to spread the word. I'll definitely be helping with that. |
@Nils-Berghs I also want to chime in and hopefully clear up some confusion. I believe you're confusing two very similar applications and their responsibilities. When you launch
From your categories listed above, it sounds like "power" fits under the category of something the shell should be responsible for, while UI is something the Terminal is responsible for. I'm not really sure how "usability" isn't just the combination of the two. So with the Windows Terminal, we're hoping to improve the UI, but the Terminal itself won't really affect the shell applications. |
There is an old chinese saying: "The soldier works out his victory in relation to the foe whom he is facing; water shapes its course according to the nature of the ground over which it flows; ", so we develop convenient features for satisfaction of friendly usage. |
@Nils-Berghs, for bash-style autocomplete set:
you´ll need to put that on your profile.ps1 to persist it. |
Autosuggestions similar to zsh-autosuggestions would be amazing! |
Unfortunately, requests for that will just have to go to PowerShell itself. |
With tab key to auto complete commands is the most basic needs for adminitrators
The text was updated successfully, but these errors were encountered: