Live data from Hacker News

Microsoft please get your tab to autocomplete shit together

ivanca.github.io

61–70 of 153 posts

Re: Microsoft please get your tab to autocomplete shit together

#61

Don't get me started on powershell! For one, it's the right arrow key for complete for most things (but tab for others). But by FAR the worst thing is that often times you'll type a command and try to tab/arrow complete an argument, and the module/dll or whatever is not loaded into memory, and so theres some blocking operation and loads the module which takes 10+ seconds. This happens to me almost every day. I do lov…

If you like Powershell but have some complaints, you might find nushell to be the best of both worlds. My elevator pitch for it would be imagine the object-oriented / typed nature of Powershell, minus the verbosity and windows-centric design of it. As someone who develops on and for windows computers, nushell is a real breath of fresh air.

I have a command line program at work which outputs json. Pure JSON in all situations.

I thought nushell would be able to make sense of that and display it semi-nicely.

Nushell pukes on it, errors out, and doesn’t even show the output of the command. As far as sins go for a shell, not showing the output of the program it just ran is very high among them.

nushell had its chance with me.

Re: Microsoft please get your tab to autocomplete shit together

#62

Don't get me started on powershell! For one, it's the right arrow key for complete for most things (but tab for others). But by FAR the worst thing is that often times you'll type a command and try to tab/arrow complete an argument, and the module/dll or whatever is not loaded into memory, and so theres some blocking operation and loads the module which takes 10+ seconds. This happens to me almost every day. I do lov…

Been the case since forever. Very annoying

Re: Microsoft please get your tab to autocomplete shit together

#63

Earlier quoted context omitted.

If you like Powershell but have some complaints, you might find nushell to be the best of both worlds. My elevator pitch for it would be imagine the object-oriented / typed nature of Powershell, minus the verbosity and windows-centric design of it. As someone who develops on and for windows computers, nushell is a real breath of fresh air.

I have a command line program at work which outputs json. Pure JSON in all situations. I thought nushell would be able to make sense of that and display it semi-nicely. Nushell pukes on it, errors out, and doesn’t even show the output of the command . As far as sins go for a shell, not showing the output of the program it just ran is very high among them. nushell had its chance with me.

With external commands you might have to collect the output of the program before doing any sort of manipulation. I’ve been got by this before too; the fix is simple (for me at least). `external.exe | collect | from json` et voila

Re: Microsoft please get your tab to autocomplete shit together

#64
post #36

Don't get me started on powershell! For one, it's the right arrow key for complete for most things (but tab for others). But by FAR the worst thing is that often times you'll type a command and try to tab/arrow complete an argument, and the module/dll or whatever is not loaded into memory, and so theres some blocking operation and loads the module which takes 10+ seconds. This happens to me almost every day. I do lov…

I have a deep and abiding love of Powershell but you are spot on. It is amazing until you run into one of these insane behaviors that somehow nobody ever fixed. (Some are actually fixed finally in 7.x - like issues with filenames with grave characters in them)

I like PowerShell too, but in what universe other than ours (clearly the worst one) is it even possible for loading a module to take more time than the blink of an eye?

Microsoft should find it embarrassing how long it takes powershell to load a module. Pushing to autocomplete a cmdlet name should never take more than maybe 100 milliseconds.

Re: Microsoft please get your tab to autocomplete shit together

#65
Another thing I'd like the team to fix, is to ignore autocomplete for ., -> and other operators in comments, or ignore all autocomplete in comments. VSCode does have the option, but at least for my C code, it only works for // comments, not /* */ ones.

Re: Microsoft please get your tab to autocomplete shit together

#66

Reminds me of Windows Search. It's been botched since they added ads to the Start Menu. Pretty soon VSCode will show you intellisense ads in the list of code completions.

Windows Search requires a DNS lookup, and HTTP request to start your search, as a direct result if either one of those is slow the whole UI lags and hangs. It hasn't ever been fixed in Windows 11. Also, there is a RegX way of disabling "bing" for-real in the search but they released an update that caused doing so to break search entirely if that was set (totally a coincidence I'm sure).

> Windows Search requires a DNS lookup

WHY? Why? Why. I’m seriously asking. Who thought that was a good idea? Who?! FIRE THEM.

NO USER ever in the history of Windows users ever said: “I want to search the contents of my computer, but windows search is too fast; can you please make windows search extremely slow, make it omit things that I know exist, and also make it search the internet? Also, I want you to index my laptop while it is sleeping in my bag, making my bag very hot, and using up all my battery trying to cool down so that I have no battery left when I open up the laptop.”

No one has ever asked for that, but we have it, we’ve had it for a long damn time.

Re: Microsoft please get your tab to autocomplete shit together

#67

Reminds me of Windows Search. It's been botched since they added ads to the Start Menu. Pretty soon VSCode will show you intellisense ads in the list of code completions.

I'm convinced that the win10 Start Menu was the single worst thing microsoft inflicted upon us in that OS. I imagine that particular discussion went like this: Exec1:"We have a semi decent os with a refreshingly updated UI that should stay relevant for a decade. How can we make it better?" Exec2: "why not replace the perfectly good start menu we have with an ugly, oddly proportioned rectangle with animated ads for ou…

When Windows Phone was a thing, those live tiles were amazing. Those giant squares in the Win10 start menu were live tiles.

Such a shame that so few applications on Win10 made use of them.

Re: Microsoft please get your tab to autocomplete shit together

#69

Why do people still spend time worrying about M$ stuff…

Microsoft stuff is universally dogshit. The amount of time/money we burn on making Azure work as it’s supposed to is insane. I will never willingly give Microsoft money.
Post reply on HN