Merge pull request #28171 from github/reusables-and-images
Copilot reusables and images
BIN
assets/images/help/copilot/comment-suggestion-jetbrains.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
assets/images/help/copilot/copilot-tab-jetbrains.png
Normal file
|
After Width: | Height: | Size: 370 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 56 KiB |
BIN
assets/images/help/copilot/open-copilot-tab-jetbrains.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
assets/images/help/copilot/status-icon-jetbrains.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
assets/images/help/copilot/status-icon-visual-studio-code.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 412 KiB |
BIN
assets/images/help/copilot/vsc-edit-shortcuts-textbox.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/images/help/copilot/vsc-edit-shortcuts.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
assets/images/help/copilot/vsc-keyboard-shortcuts.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
assets/images/help/copilot/vsc-settings.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
assets/images/help/copilot/vsc-shortcut-search-bar.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
1
data/reusables/copilot/accept-suggestion-new-tab.md
Normal file
@@ -0,0 +1 @@
|
||||
1. To accept a suggestion from the new tab, above the suggestion you want to accept, click **Accept solution**.
|
||||
1
data/reusables/copilot/accept-suggestion-tab.md
Normal file
@@ -0,0 +1 @@
|
||||
1. If {% data variables.product.prodname_copilot %} offers a suggestion you want to accept, press <kbd>Tab</kbd>.
|
||||
1
data/reusables/copilot/accept-suggestion.md
Normal file
@@ -0,0 +1 @@
|
||||
1. To accept the suggestion, press <kbd>Tab</kbd>.
|
||||
1
data/reusables/copilot/alternative-suggestions.md
Normal file
@@ -0,0 +1 @@
|
||||
For any given input, {% data variables.product.prodname_copilot %} can offer multiple suggestions. You can select which suggestion to use, or reject all suggestions.
|
||||
1
data/reusables/copilot/close-suggestions-tab.md
Normal file
@@ -0,0 +1 @@
|
||||
1. Alternatively, to reject all suggestions, close the suggestions tab.
|
||||
1
data/reusables/copilot/create-java-file.md
Normal file
@@ -0,0 +1 @@
|
||||
1. Create a new Java (_*.java_) file.
|
||||
1
data/reusables/copilot/create-js-file.md
Normal file
@@ -0,0 +1 @@
|
||||
1. Create a new JavaScript (_*.js_) file.
|
||||
@@ -0,0 +1,8 @@
|
||||
## Enabling and disabling {% data variables.product.prodname_copilot %}
|
||||
|
||||
You can enable or disable {% data variables.product.prodname_copilot %} from within JetBrains. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. When enabled, the icon is highlighted. When disabled, the icon is grayed out.
|
||||
|
||||
1. To enable or disable {% data variables.product.prodname_copilot %}, click the status icon in the bottom panel of the JetBrains window.
|
||||

|
||||
2. If you are disabling {% data variables.product.prodname_copilot %}, JetBrains will ask whether you want to disable the feature globally, or for the language of the file you are currently editing. To disable globally, click **Disable Completions**. Alternatively, click the button to disable completions for the language of the file you are currently editing.
|
||||

|
||||
@@ -0,0 +1,4 @@
|
||||
## Further reading
|
||||
|
||||
- [{% data variables.product.prodname_copilot %}](https://copilot.github.com/)
|
||||
- [About {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)
|
||||
1
data/reusables/copilot/reject-suggestions-escape.md
Normal file
@@ -0,0 +1 @@
|
||||
1. Alternatively, to reject all suggestions, press <kbd>Esc</kbd>.
|
||||
1
data/reusables/copilot/suggestions-new-tab.md
Normal file
@@ -0,0 +1 @@
|
||||
You may not want any of the initial suggestions {% data variables.product.prodname_copilot %} offers. You can ask {% data variables.product.prodname_copilot %} to provide additional suggestions.
|
||||
1
data/reusables/copilot/supported-languages.md
Normal file
@@ -0,0 +1 @@
|
||||
{% data variables.product.prodname_copilot %} provides suggestions for numerous languages and a wide variety of frameworks, but works especially well for Python, JavaScript, TypeScript, Ruby, Go, C# and C++.
|
||||
5
data/reusables/copilot/type-function-header.md
Normal file
@@ -0,0 +1,5 @@
|
||||
1. In the JavaScript file, type the following function header.
|
||||
|
||||
```
|
||||
function calculateDaysBetweenDates(begin, end) {
|
||||
```
|
||||
1
data/reusables/copilot/windows-linux-next-suggestion.md
Normal file
@@ -0,0 +1 @@
|
||||
- On Windows or Linux, press <kbd>Alt</kbd>+<kbd>]</kbd> for the next suggestion, or <kbd>Alt</kbd>+<kbd>[</kbd> for the previous suggestion.
|
||||
2
data/reusables/gated-features/copilot.md
Normal file
@@ -0,0 +1,2 @@
|
||||
{% data variables.product.prodname_copilot %} is available to {% data variables.product.company_short %} customers with a personal account on {% data variables.product.prodname_dotcom_the_website %}. {% data variables.product.prodname_copilot %} is free to use for verified students and open source maintainers. If you are not a student or open source maintainer, you can try {% data variables.product.prodname_copilot %} for free with a one-time 60 day trial. After the free trial, you will need a paid subscription for continued use. For more information, see "[About billing for {% data variables.product.prodname_copilot %}](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)."
|
||||
|
||||