Live data from Hacker News

Show HN: Inshellisense – IDE style shell autocomplete

github.com

41–50 of 161 posts

Re: Show HN: Inshellisense – IDE style shell autocomplete

#41

1980s... but like 2020s-style. Coming next: auto-complete for punch cards.

can you expand on this?

I think they meant "using the terminal (1980s)... but like 2020s-style (intellisense)"

Y'know, because it's not like tons of people use the terminal on a daily basis in the modern era. /s

Re: Show HN: Inshellisense – IDE style shell autocomplete

#42
post #13

I'd be curious how this compares with Fish, which has autocomplete as well. It's worked fantastic for me so far. Once you have it, it's hard to go back!

This looks much cooler than fish autocompletes imo. But this replaces the nice fish stuff with `>` as a prompt, so I'll stick with fish.

The readme for this project states that it supports fish, does it replace the prompt?

Re: Show HN: Inshellisense – IDE style shell autocomplete

#43

Co-founder of Fig here! Just want to say that I think this is awesome. It’s really cool to see alternative implementations of IDE-style autocomplete in the terminal. Nice work!

Looking at the main author's gorhub profile, they forker Fig's repo.

Re: Show HN: Inshellisense – IDE style shell autocomplete

#44
post #40

Earlier quoted context omitted.

100ms is a long time to wait for each completion suggestion.

I was going to say the same thing. In what world is 100ms fast on a computer? (for something not making a network round trip)

The claim isn’t that 100ms is fast, it’s that the blame for the latency lies in the engineering, not the language.

Re: Show HN: Inshellisense – IDE style shell autocomplete

#45

Earlier quoted context omitted.

I tend to think since VSCode plugins are javascript all new tooling from Microsoft seems to be written in typescript. As a non front end dev though `npm install` is an instant turnoff for me.

I agree. I was going to install and backed out when I saw `npm install` as well. I am wondering if my priors need to be updated, though (namely: JavaScript is slow, inefficient, and unsuited for anything outside of webdev).

I think javascript is plenty fast these days. My only problem with Typescript/Javascipt is the toolchain is very complex/confusing to someone on the outside. In my experience, Rust/Go or even python is easier to get into if you're not living it every day. Besides familiarity, I'm not sure why someone would choose Typescript for non-web work.

Re: Show HN: Inshellisense – IDE style shell autocomplete

#46
post #26

Earlier quoted context omitted.

I feel like I've trashed millions of files I shouldn't have with `rm` and trying to be clever with regular expressions.

I've done this enough times I use `ls` first, then `rm`

Yeah, I generally will use `find . -name "My point was that I don't feel like Unix really stops you from doing destructive scary stuff. It seems like it's perfectly happy to let you break your machine.

Re: Show HN: Inshellisense – IDE style shell autocomplete

#47
post #26

Earlier quoted context omitted.

Generally, a destructive shell command prompts for approval. But I suppose overfumbly fingers could still cause grief. Type/command aware tooling is a night and day difference.

I feel like I've trashed millions of files I shouldn't have with `rm` and trying to be clever with regular expressions.

Note: Normal shells use glob(7) expressions, not regular expressions.

Re: Show HN: Inshellisense – IDE style shell autocomplete

#48

Earlier quoted context omitted.

Don’t bring TypeScript into this. It is very possible to write sub 100ms procedures in TS, but an inelegant algorithm will be slow in any language, eventually.

100ms is a long time to wait for each completion suggestion.

Jakob Nielsen says that 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result...

https://www.nngroup.com/articles/response-times-3-important-...

Re: Show HN: Inshellisense – IDE style shell autocomplete

#49

Co-founder of Fig here! Just want to say that I think this is awesome. It’s really cool to see alternative implementations of IDE-style autocomplete in the terminal. Nice work!

https://github.com/withfig/autocomplete is it this?
Post reply on HN