-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from thedemons/docs
Add images and documentation
- Loading branch information
Showing
26 changed files
with
205 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Table of contents | ||
1. [Installing Codeium Extension for Visual Studio](installing.md) | ||
2. [Using the Extension](using.md) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Installing Codeium Extension for Visual Studio | ||
|
||
## Open Extension Marketplace | ||
In the Visual Studio menu bar, click **Extensions**, then click **Manage Extensions**. | ||
<p align="center"> | ||
<image src="images/installation_1.png"/> | ||
</p> | ||
|
||
## Install Codeium | ||
In the **Manage Extensions** window, click **Visual Studio Marketplace**, search for **Codeium**, and then click **Download**. | ||
|
||
<p align="center"> | ||
<image src="images/installation_2.png" width="600"/> | ||
</p> | ||
|
||
Alternatively, download the VSIX package from [the marketplace](https://marketplace.visualstudio.com/items?itemName=Codeium.CodeiumVS) and double click to install. | ||
|
||
## Relaunch Visual Studio | ||
Close Visual Studio, the **VSIX Installer** should opens and asks for the confirmation to install, click **Modify**. | ||
|
||
<p align="center"> | ||
<image src="images/installation_3.png" width="300"/> | ||
</p> | ||
|
||
## Sign in to Codeium | ||
Open or create a new project in Visual Studio. You should see a notification with a button to **Sign in**, click on it. | ||
|
||
<p align="center"> | ||
<image src="images/installation_4.png"/> | ||
</p> | ||
|
||
If for some reasons this notification does not appear, please go to **Extensions > Codeium > Sign in** instead. | ||
|
||
<p align="center"> | ||
<image src="images/installation_5.png"/> | ||
</p> | ||
|
||
This will open the browser and ask you to sign into your Codeium account. If you do not have a Codeium account yet, you will be redirected to create an account. | ||
|
||
*Why do we require an account? In order to remove abuse of the product and make sure that we know you are an early user, we ask to authorize Codeium extensions with an account before use. We do not use, share, or sell any identifying information for any purpose.* | ||
|
||
## All Done! | ||
Once you sign in, you will automatically be signed in to the Codeium extension on Visual Studio. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Using the Extension | ||
|
||
## Table of contents | ||
1. [Auto completion](#auto-completion) | ||
2. [Chat Window](#chat-window) | ||
3. [Explain Code block](#explain-code-block) | ||
4. [Refactor Code block](#refactor-code-block) | ||
5. [Generate Docstring for Function](#generate-docstring-for-function) | ||
6. [Generate Unit Test for Function](#generate-unit-test-for-function) | ||
7. [Explain Problem](#explain-problem) | ||
|
||
## Auto Completion | ||
Once started typing, you should see grey texts that show Codeium's suggestions. You can press <kbd>Tab</kbd> to accept, and <kbd>Alt+.</kbd> to cycle through the suggestions. | ||
|
||
<p align="center"> | ||
<image src="images/using_auto_completion.png"/> | ||
</p> | ||
|
||
## Chat Window | ||
In the Menu bar, click on **Extenions > Codeium > Open Chat Window**. | ||
<p align="center"> | ||
<image src="images/using_chat_window.png"/> | ||
</p> | ||
|
||
This will bring up the Chat Window, which will be docked to the Solution Explorer by default. | ||
<p align="center"> | ||
<image src="images/using_chat_window_ui.png" height="500"/> | ||
</p> | ||
|
||
## Explain Code block | ||
Right-click anywhere the code block you would like Codeium to explain, there will be a **Codeium: Explain Code block** in the context menu. | ||
|
||
<p align="center"> | ||
<image src="images/using_explain_code_block.png"/> | ||
</p> | ||
|
||
If you right-click on a function, you will see **Codeium: Explain Function** instead. | ||
|
||
<p align="center"> | ||
<image src="images/using_explain_function.png"/> | ||
</p> | ||
|
||
## Refactor Code block | ||
Much like the [Explain Code block](#explain-code-block) feature, right-click anywhere the code block you would like Codeium to refactor, there will be a **Codeium: Refactor Code block** in the context menu. | ||
|
||
<p align="center"> | ||
<image src="images/using_refactor_code_block.png"/> | ||
</p> | ||
|
||
Clicking on it will highlight the code block and open a dialog window asking how you would like to refactor it. You can select one of the preset or type in anything and hit <kbd>ENTER</kdb>. | ||
<p align="center"> | ||
<image src="images/using_refactor_code_block_1.png"/> | ||
</p> | ||
|
||
## Generate Docstring for Function | ||
Right-click on any function, there will be a **Codeium: Generate Docstring for Function** in the context menu. | ||
|
||
<p align="center"> | ||
<image src="images/using_generate_docstring.png"/> | ||
</p> | ||
|
||
## Generate Unit Test for Function | ||
Right-click on any function, there will be a **Codeium: Generate Unit Test for Function** in the context menu. | ||
|
||
<p align="center"> | ||
<image src="images/using_generate_unit_test.png"/> | ||
</p> | ||
|
||
## Explain Problem | ||
When you have a warning, error, or diagnostic message in your code, hovering on it will show a **Codeium: Explain Problem** button. | ||
|
||
<p align="center"> | ||
<image src="images/using_explain_problem.png"/> | ||
</p> | ||
|