This PR revives zed-industries/zed#27818 and aims to complete the partially implemented overloaded signature help feature. The first commit is a rebase of zed-industries/zed#27818, and the subsequent commit addresses all review feedback from the original PR. Now the overloaded signature help works like https://github.com/user-attachments/assets/e253c9a0-e3a5-4bfe-8003-eb75de41f672 Closes #21493 Release Notes: - Implemented signature help for overloaded items. Additionally, added a support for rendering signature help documentation. --------- Co-authored-by: Fernando Tagawa <tagawafernando@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Kirill Bulatov <mail4score@gmail.com> Co-authored-by: Kirill Bulatov <kirill@zed.dev>
23 lines
619 B
Rust
23 lines
619 B
Rust
#![allow(missing_docs)]
|
|
|
|
use gpui::{Hsla, hsla};
|
|
|
|
#[derive(Clone, Debug, PartialEq)]
|
|
pub struct SystemColors {
|
|
pub transparent: Hsla,
|
|
pub mac_os_traffic_light_red: Hsla,
|
|
pub mac_os_traffic_light_yellow: Hsla,
|
|
pub mac_os_traffic_light_green: Hsla,
|
|
}
|
|
|
|
impl Default for SystemColors {
|
|
fn default() -> Self {
|
|
Self {
|
|
transparent: hsla(0.0, 0.0, 0.0, 0.0),
|
|
mac_os_traffic_light_red: hsla(0.0139, 0.79, 0.65, 1.0),
|
|
mac_os_traffic_light_yellow: hsla(0.114, 0.88, 0.63, 1.0),
|
|
mac_os_traffic_light_green: hsla(0.313, 0.49, 0.55, 1.0),
|
|
}
|
|
}
|
|
}
|