News for hackers. Stuff that matters.
Re:Rust-analyzer – an IDE backend for Rust by blinkingled on Monday April 27, 2020 @09:26AM (#22995604)
I tried it recently and I know it's just alpha right now but something feels a little fundamentally annoying about the way it changes things in the editor while you're typing. One example is that it seems too eager to claim something is a syntax error before you've really finished really typing it.
Re:Rust-analyzer – an IDE backend for Rust by metalliqaz on Monday April 27, 2020 @09:34AM (#22995659)
Wouldn't that be the text editor's fault?
Re:Rust-analyzer – an IDE backend for Rust by blinkingled on Monday April 27, 2020 @11:35AM (#22996804)
Not sure about that - doesn't seem to be a problem with any other extensions.
Re:Rust-analyzer – an IDE backend for Rust by thramp on Monday April 27, 2020 @03:55PM (#22999326)
I think this might be caused by autosave being enabled in VSCode, but this is just idle speculation.
Re:Rust-analyzer – an IDE backend for Rust by matklad on Monday April 27, 2020 @12:22PM (#22997269)
Out of curiosity, which editor are you using? I've hit a similar problem when trying out upcoming neovim lsp support:

https://github.com/neovim/nvim-lsp/issues/195

Re:Rust-analyzer – an IDE backend for Rust by blinkingled on Monday April 27, 2020 @12:26PM (#22997306)
Vscode
Re:Rust-analyzer – an IDE backend for Rust by k__ on Monday April 27, 2020 @09:42AM (#22995706)
As long as it does this with single digit millisecond latency, I'd be okay with that.
Re:Rust-analyzer – an IDE backend for Rust by blinkingled on Monday April 27, 2020 @11:35AM (#22996812)
Trouble is it will eagerly try to auto complete the wrong thing while you are trying to fix up your typo.
Re:Rust-analyzer – an IDE backend for Rust by k__ on Monday April 27, 2020 @12:20PM (#22997251)
Ah, I had this problem with all languages.

Don't know how to get around this :/

Re:Rust-analyzer – an IDE backend for Rust by ImprobableTruth on Monday April 27, 2020 @01:29PM (#22997912)
Really? I've had the inverse problem where it only corrects anything once I've hit safe.