mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 02:48:34 +00:00
Github => GitHub
This commit is contained in:
parent
a3d431d86f
commit
b5fc91e455
3 changed files with 6 additions and 6 deletions
|
@ -88,15 +88,15 @@ impl CopilotCodeVerification {
|
||||||
let connect_button_label = if connect_clicked {
|
let connect_button_label = if connect_clicked {
|
||||||
"Waiting for connection..."
|
"Waiting for connection..."
|
||||||
} else {
|
} else {
|
||||||
"Connect to Github"
|
"Connect to GitHub"
|
||||||
};
|
};
|
||||||
v_flex()
|
v_flex()
|
||||||
.flex_1()
|
.flex_1()
|
||||||
.gap_2()
|
.gap_2()
|
||||||
.items_center()
|
.items_center()
|
||||||
.child(Headline::new("Use Github Copilot in Zed.").size(HeadlineSize::Large))
|
.child(Headline::new("Use GitHub Copilot in Zed.").size(HeadlineSize::Large))
|
||||||
.child(
|
.child(
|
||||||
Label::new("Using Copilot requires an active subscription on Github.")
|
Label::new("Using Copilot requires an active subscription on GitHub.")
|
||||||
.color(Color::Muted),
|
.color(Color::Muted),
|
||||||
)
|
)
|
||||||
.child(Self::render_device_code(data, cx))
|
.child(Self::render_device_code(data, cx))
|
||||||
|
@ -139,7 +139,7 @@ impl CopilotCodeVerification {
|
||||||
"You can enable Copilot by connecting your existing license once you have subscribed or renewed your subscription.",
|
"You can enable Copilot by connecting your existing license once you have subscribed or renewed your subscription.",
|
||||||
).color(Color::Warning))
|
).color(Color::Warning))
|
||||||
.child(
|
.child(
|
||||||
Button::new("copilot-subscribe-button", "Subscribe on Github")
|
Button::new("copilot-subscribe-button", "Subscribe on GitHub")
|
||||||
.full_width()
|
.full_width()
|
||||||
.on_click(|_, cx| cx.open_url(COPILOT_SIGN_UP_URL)),
|
.on_click(|_, cx| cx.open_url(COPILOT_SIGN_UP_URL)),
|
||||||
)
|
)
|
||||||
|
|
|
@ -59,7 +59,7 @@ pub async fn latest_github_release(
|
||||||
|
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
log::error!(
|
log::error!(
|
||||||
"Error deserializing Github API response text: {:?}",
|
"Error deserializing GitHub API response text: {:?}",
|
||||||
String::from_utf8_lossy(body.as_slice())
|
String::from_utf8_lossy(body.as_slice())
|
||||||
);
|
);
|
||||||
return Err(anyhow!("error deserializing latest release"));
|
return Err(anyhow!("error deserializing latest release"));
|
||||||
|
|
|
@ -33,7 +33,7 @@ g h Show inline error (hover)
|
||||||
|
|
||||||
# Insert mode
|
# Insert mode
|
||||||
ctrl-x ctrl-o Open the completion menu
|
ctrl-x ctrl-o Open the completion menu
|
||||||
ctrl-x ctrl-c Request Github Copilot suggestion (if configured)
|
ctrl-x ctrl-c Request GitHub Copilot suggestion (if configured)
|
||||||
ctrl-x ctrl-a Open the inline AI assistant (if configured)
|
ctrl-x ctrl-a Open the inline AI assistant (if configured)
|
||||||
ctrl-x ctrl-l Open the LSP code actions
|
ctrl-x ctrl-l Open the LSP code actions
|
||||||
ctrl-x ctrl-z Hides all suggestions
|
ctrl-x ctrl-z Hides all suggestions
|
||||||
|
|
Loading…
Reference in a new issue