Skip to content

Commit b08dbb1

Browse files
update faq and restructure the docs (#11)
* add getting started page * update lab environment setup instructions * Update lab environment setup instructions and getting started page * add FAQ * temp changes --------- Co-authored-by: Rakesh Lakshminarayana <rakesh.lakshminarayana@insight.com>
1 parent 85e678a commit b08dbb1

File tree

8 files changed

+333
-401
lines changed

8 files changed

+333
-401
lines changed

docs/02-Copilot-Shortcuts.md

Lines changed: 0 additions & 165 deletions
This file was deleted.
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
---
2+
title: "Keyboard Shortcuts"
3+
slug: /keyboard-shortcuts
4+
---
5+
6+
GitHub Copilot is a powerful tool that can help you write code faster. It can suggest code completions, generate documentation, and write entire functions.
7+
To help you get the most out of Copilot, the following is a compiled list of keyboard shortcuts that you can use to interact with Copilot more efficiently.
8+
9+
<details>
10+
<summary>Visual Studio Code</summary>
11+
12+
The following shortcuts are available for Visual Studio Code:
13+
14+
**Accept suggestion**:
15+
16+
| OS | Shortcut |
17+
| ------- | --------- |
18+
| macOS | `TAB` key |
19+
| Windows | `TAB` key |
20+
21+
**Reject suggestion**:
22+
23+
| OS | Shortcut |
24+
| ------- | --------- |
25+
| macOS | `Esc` key |
26+
| Windows | `Esc` key |
27+
28+
**Accept next word**:
29+
30+
| OS | Shortcut |
31+
| ------- | --------------------------- |
32+
| macOS | `command + Right Arrow` key |
33+
| Windows | `Ctrl + Right Arrow` key |
34+
35+
**Show alternative suggestions**:
36+
37+
| OS | Shortcut |
38+
| ------- | ------------------ |
39+
| macOS | `Ctrl + Enter` key |
40+
| Windows | `Ctrl + Enter` key |
41+
42+
**Show next suggestion**:
43+
44+
| OS | Shortcut |
45+
| ------- | ---------------- |
46+
| macOS | `option + ]` key |
47+
| Windows | `Alt + ]` key |
48+
49+
**Show previous suggestion**:
50+
51+
| OS | Shortcut |
52+
| ------- | ---------------- |
53+
| macOS | `option + [` key |
54+
| Windows | `Alt + [` key |
55+
56+
**Trigger inline chat**:
57+
58+
| OS | Shortcut |
59+
| ------- | ----------------- |
60+
| macOS | `command + I` key |
61+
| Windows | `Ctrl + I` key |
62+
63+
**Open chat view**:
64+
65+
| OS | Shortcut |
66+
| ------- | --------------------------- |
67+
| macOS | `command + control + I` key |
68+
| Windows | `Ctrl + Alt + I` key |
69+
70+
</details>
71+
72+
---
73+
74+
<details>
75+
<summary>Visual Studio</summary>
76+
77+
The following shortcuts are available for Visual Studio:
78+
79+
**Show inline chat**:
80+
81+
| OS | Shortcut |
82+
| ------- | ----------------- |
83+
| macOS | `command + /` key |
84+
| Windows | `Alt + /` key |
85+
86+
**Show alternative suggestions**:
87+
88+
| OS | Shortcut |
89+
| ------- | ---------------- |
90+
| macOS | `option + .` key |
91+
| Windows | `Alt + .` key |
92+
93+
**Accept suggestion**:
94+
95+
| OS | Shortcut |
96+
| ------- | --------- |
97+
| macOS | `TAB` key |
98+
| Windows | `TAB` key |
99+
100+
**Reject suggestion**:
101+
102+
| OS | Shortcut |
103+
| ------- | --------- |
104+
| macOS | `Esc` key |
105+
| Windows | `Esc` key |
106+
107+
**Accept next word**:
108+
109+
| OS | Shortcut |
110+
| ------- | --------------------------- |
111+
| macOS | `command + Right Arrow` key |
112+
| Windows | `Ctrl + Right Arrow` key |
113+
114+
</details>
115+
116+
---
117+
118+
<details>
119+
<summary>JetBrains IDEs</summary>
120+
121+
The following shortcuts are available for JetBrains IDEs:
122+
123+
**Show alternative suggestions**:
124+
125+
| OS | Shortcut |
126+
| ------- | ------------------------- |
127+
| macOS | `command + shift + A` key |
128+
| Windows | `Ctrl + Enter` key |
129+
130+
**Show next suggestion**:
131+
132+
| OS | Shortcut |
133+
| ------- | ---------------- |
134+
| macOS | `option + ]` key |
135+
| Windows | `Alt + ]` key |
136+
137+
**Show previous suggestion**:
138+
139+
| OS | Shortcut |
140+
| ------- | ---------------- |
141+
| macOS | `option + [` key |
142+
| Windows | `Alt + [` key |
143+
144+
**Accept next word**:
145+
146+
| OS | Shortcut |
147+
| ------- | --------------------------- |
148+
| macOS | `command + Right Arrow` key |
149+
| Windows | `Ctrl + Right Arrow` key |
150+
151+
**Show inline chat**:
152+
153+
| OS | Shortcut |
154+
| ------- | ------------------------- |
155+
| macOS | `command + shift + I` key |
156+
| Windows | `Ctrl + Shift + I` key |
157+
158+
</details>
159+
160+
---

docs/99-Additional-Resources.md renamed to docs/100-Additional-Resources/100-External-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Additional Resources"
3-
slug: /additional-resources
2+
title: "External Resources"
3+
slug: /external-resources
44
---
55

66
## Microsoft Learn

docs/98-Copilot-Network-Errors.md renamed to docs/100-Additional-Resources/98-Copilot-Network-Errors.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: "Network errors for GitHub Copilot"
2+
title: "Troubleshooting Network errors"
33
slug: /network-errors
44
---
55

6-
# Troubleshooting network errors for GitHub Copilot
7-
86
Resolve common errors related to proxies and custom certificates.
97

108
:::tip
@@ -13,12 +11,12 @@ Resolve common errors related to proxies and custom certificates.
1311
GitHub Copilot Individual or GitHub Copilot Business.
1412
:::
1513

16-
1714
If you're working on company equipment and connecting to a corporate network, you may be connecting to the Internet via a VPN or an HTTP proxy server. In some cases, these types of network setups may prevent GitHub Copilot from connecting to GitHub's server. For more information about the options for setting up proxies with GitHub Copilot, see [Configuring network settings for GitHub Copilot](https://docs.github.com/en/copilot/configuring-github-copilot/configuring-network-settings-for-github-copilot).
1815

1916
This article provides guidance for common issues related to HTTP proxies and custom certificates. If you use a firewall, this may also interfere with GitHub Copilot's connection. For more information, see [Troubleshooting firewall settings for GitHub Copilot](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-firewall-settings-for-github-copilot).
2017

2118
## Diagnosing network issues
19+
2220
If you're troubleshooting network issues, it may help to make `curl` requests to test your connection. If you add the `--verbose` flag, these requests give you more information to diagnose the issue, or to share with your company's IT department or GitHub Support. You can contact GitHub Support through the [GitHub Support portal](https://support.github.com/).
2321

2422
To check if you can access at least some of GitHub's endpoints from your environment, you can run the following command from the command line.
@@ -66,18 +64,18 @@ Some possible ways to resolve certificate-related errors are:
6664
- Configure a different proxy that does not intercept secure connections.
6765
- If you are using a corporate proxy, contact your IT department to see if they can configure the proxy to not intercept secure connections.
6866
- Ensure the custom certificates are properly installed in your operating system's trust store. For more information, see [Configuring network settings for GitHub Copilot](https://docs.github.com/en/copilot/configuring-github-copilot/configuring-network-settings-for-github-copilot#allowing-github-copilot-to-use-custom-certificates). If the certificates are installed on your machine but GitHub Copilot isn't detecting them, it may help you to know the mechanisms that GitHub Copilot uses to find certificates.
69-
- On Windows, Copilot uses the [win-ca package](https://www.npmjs.com/package/win-ca).
70-
- On macOS, Copilot uses the [mac-ca package](https://www.npmjs.com/package/mac-ca).
71-
- On Linux, Copilot checks the standard OpenSSL files `/etc/ssl/certs/ca-certificates.crt` and `/etc/ssl/certs/ca-bundle.crt`.
67+
- On Windows, Copilot uses the [win-ca package](https://www.npmjs.com/package/win-ca).
68+
- On macOS, Copilot uses the [mac-ca package](https://www.npmjs.com/package/mac-ca).
69+
- On Linux, Copilot checks the standard OpenSSL files `/etc/ssl/certs/ca-certificates.crt` and `/etc/ssl/certs/ca-bundle.crt`.
7270
- Configure GitHub Copilot to ignore certificate errors. In your proxy settings, you can deselect **Proxy Strict SSL** in Visual Studio Code, or select **Accept non-trusted certificates automatically** in a JetBrains IDE. For more information, see [Configuring network settings for GitHub Copilot](https://docs.github.com/en/copilot/configuring-github-copilot/configuring-network-settings-for-github-copilot#configuring-proxy-settings-for-github-copilot).
7371

7472
> **Warning**
75-
Ignoring certificate errors can cause security issues and is not recommended.
73+
> Ignoring certificate errors can cause security issues and is not recommended.
7674
7775
## Troubleshooting security software-related certificate errors
7876

7977
If you or your organization use security software that monitors secure web traffic and you receive an "unable to verify the first certificate" error, you may need to configure an exception for your IDE and/or the copilot extension.
8078

8179
For more information about how to configure an exception, refer to your security software vendor.
8280

83-
---
81+
---
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"position": 100,
3+
"label": "Additional Resources",
4+
"collapsible": true,
5+
"collapsed": false,
6+
"className": "red"
7+
}

0 commit comments

Comments
 (0)