Young-Flash

Results 47 comments of Young-Flash

> With that out of the way, I feel like this isn't necessarily rust-analyzer specific but could be a generic configurable vscode extension that consumes a config of diagnostics with...

> I'd expect that this functionality should be completely implementable with just vscode's diagnostics API Is it really possible to make this without touching rust-analyzer server side? If we don't...

> The client should be able to associate code actions with diagnostics yeah, but that `diagnostics?: [Diagnostic]` field is allowed to undefined, and rust-analyzer server side don't attach diagnostics info...

seems tricky we have `ide_db::assists::Assist` in `ide_diagnostics::Diagnostic` https://github.com/rust-lang/rust-analyzer/blob/a2e274142f35d21fd28d28655f4af8e8531ab649/crates/ide-diagnostics/src/lib.rs#L136-L146 attach `Diagnostic` in `Assist` casue cycle dependency ?

> my thought is the code in this issue has no problem IMO "Unwrap block" for the above code would better be: ```rust fn foo() -> Option { let foo...

could this help? https://github.com/rust-lang/rust-analyzer/blob/543d7e98dbcc0668528dbf3f5b32d752882baa33/editors/code/package.json#L952-L959

我也遇到了这个问题。有时候无法显示候选词,有些应用中会有些不会,比如在微信中输入则会,在 Chrome 地址栏中则不会。虽然无法显示,但是按下空格键还是可以输出文字的。 ![image](https://github.com/rime/weasel/assets/71162630/7be11c31-a98e-4ee0-958f-cf1049359e7d)