cjw

Results 12 issues of cjw

I encountered this error when implement a rust extension: ``` [2021-04-22T02:35:55Z ERROR rls::build::cargo_plan] Modified file /Volumes/Macintosh HD/Users/XXX/Downloads/hello_cargo/src/main.rs didn't correspond to any buildable unit! ``` The error comes from [here](https://github.com/rust-lang/rls/blob/c7a19f64b02f9293be4fbf79404c95261fe204cc/rls/src/build/cargo_plan.rs#L242). The...

When I hover my cursor on the comment, the language server shows a prompt and highlight a large range of text (shown in the figure), which is visually disturbing and...

type: bug
component: ghcide

The string containing the LaTeX equation should be a raw string, since it may contain a blackslash `\`. If the following line ```python pparam = dict(xlabel='Voltage (mV)', ylabel='Current ($\mu$A)') ```...

Implement `oneshot::Receiver::blocking_recv` for [`oneshot::Receiver`](https://docs.rs/futures/latest/futures/channel/oneshot/struct.Receiver.html) as in [Tokio](https://docs.rs/tokio/latest/tokio/sync/oneshot/struct.Receiver.html#method.blocking_recv).

## Description I followed the [instruction](https://github.com/tensorchord/envd#install-and-bootstrap-envd) but got the following error: ``` $ envd bootstrap INFO[2022-10-31T11:51:10+08:00] [1/3] Bootstrap SSH Key INFO[2022-10-31T11:51:10+08:00] [2/3] Bootstrap autocomplete INFO[2022-10-31T11:51:10+08:00] You may have to restart...

type/bug 🐛

**Is your feature request related to a problem? Please describe.** Currently the extension doesn't support folding ribbon as shown in the screenshot. **Describe the solution you'd like** Support it! **Additional...

feature request

Currently, to use iterator combinators, users have to write something like: ```go iter0 := iter.Elems(someSlice) iter1 := iter.Map(iter0, someFunc) iter2 := iter.Map(iter1, someFunc) // ... ``` Users have to repeatedly...

Currently, the implementation of the `Collect` doesn't reserve capacity for iterator: https://github.com/mtoohey31/iter/blob/7eec6de0d2ad032b51126c2df2f68a75dfde5d2a/iter.go#L51 But actually, iterator can provide size hint to indicate how much memory it needs. Rust adopt such implementation:...

future consideration

Here is the definition of [`Iterator::eq`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.eq).