Skip to content

Commit

Permalink
Release 0.0.1 (#86)
Browse files Browse the repository at this point in the history
- Update CHANGELOG.md to include changes for 0.0.1 release
- Update README.md with preview status information and installation
instructions
- Update Testing.md with latest test plan
  • Loading branch information
abeatrix authored Sep 6, 2024
1 parent 32e933b commit 1341ea0
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 48 deletions.
16 changes: 9 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

### Added

- Chat view style now matches the editor theme on theme changes. [pull/85](https://github.com/sourcegraph/cody-vs/pull/85)
- Added browser-based authentication support. [pull/84](https://github.com/sourcegraph/cody-vs/pull/84)

### Changed

### Deprecated

### Removed

### Fixed

## Security

## [0.0.1]

### Added

- Chat view style now matches the editor theme on theme changes. [pull/85](https://github.com/sourcegraph/cody-vs/pull/85)
- Added browser-based authentication support. [pull/84](https://github.com/sourcegraph/cody-vs/pull/84)

## [0.0.0]

### Added

- Initial preview release of [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) 🎉
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
1. `choco install pnpm --version=8.6.7`
1. Install [Visual Studio Pro](https://visualstudio.microsoft.com/vs/professional/) with the required component:
1. Visual Studio Extension
2. Install [git for Windows](https://gitforwindows.org)
1. Install [git for Windows](https://gitforwindows.org)
1. Configure it with `git config core.autocrlf false` to not change line endings
1. Install [.NET SDK](https://dotnet.microsoft.com/en-us/download)
1. Clone this repository: `git clone [email protected]:sourcegraph/cody-vs.git`
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Cody for Visual Studio

## 🚧 Preview Status
## Preview Status

IMPORTANT: Please note that Cody for Visual Studio is currently in preview and is intended for testing purposes only. The extension may not be stable and could have bugs or limitations.

Once the extension becomes general available, you can install Cody for Visual Studio from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
🚧 [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) is currently in preview. **It is intended for testing purposes only and may not be suitable for production use.**

## AI that uses your codebase as context

Expand Down Expand Up @@ -39,7 +37,13 @@ You can find detailed information about Cody's available plans [on our website](

### Feedback

Cody is often magical and sometimes frustratingly wrong. Cody's goal is to be powerful _and_ accurate. You can help:
As the extension is currently in preview, here are what to expect:

- You might encounter bugs or unexpected behavior
- Features and user interface are subject to change
- The extension has limited functionality compared to the VS Code extension

We appreciate your feedback as we work to improve Cody for Visual Studio. Please report any issues or suggestions through our official channels:

- Use the <kbd>👍</kbd>/<kbd>👎</kbd> buttons in the chat view to give feedback.
- [File an issue](https://community.sourcegraph.com/c/cody) when you see problems.
Expand Down
43 changes: 24 additions & 19 deletions docs/qa/Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,20 @@ Before beginning the test plan, ensure you have:

**IMPORTANT:** Cody requires an open solution in Visual Studio to provide context-aware responses. Ensure you have a solution project opened before testing Cody features.

## Installation Steps
## Installing Cody for Visual Studio (Preview)

You must have `READ` access to the Cody extension in the Visual Studio Marketplace to download the Preview version.
To install the preview version of Cody for Visual Studio:

If you don't have access, obtain the link to download the latest extension installation package from a team member.
1. Visit the [GitHub Releases Page](https://github.com/sourcegraph/cody-vs/releases)
2. Download `Cody.VisualStudio.vsix` from the latest release's **Assets** section
3. Close `Visual Studio`
4. Double-click the downloaded file to install the extension

### Preview Version

If you have access to the Preview version of Cody in the Visual Studio Marketplace:

1. Visit the [Cody for Visual Studio Marketplace page](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
2. Download the extension package (`Cody.VisualStudio.vsix`).
3. Install the extension by double-clicking the downloaded file.
As this is a preview version, you may encounter bugs or limitations. Please report any issues on the [GitHub repository](https://github.com/sourcegraph/cody-vs/issues).

### Public Release Version

Once Cody for Visual Studio is publicly available in the Marketplace:
Once generally available, the extension will be on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).

1. Open Visual Studio.
2. Go to `Extensions` > `Manage Extensions`.
Expand All @@ -47,7 +44,8 @@ Once Cody for Visual Studio is publicly available in the Marketplace:
After installing Cody:

1. Restart Visual Studio if prompted.
2. Open your solution or create a new project to start using Cody.
2. Open your solution or create a new project.
3. Select `Cody Chat` from the `Tools` menu bar to open `Cody` in the sidebar.

## Test Plan Overview

Expand All @@ -64,6 +62,8 @@ The plan includes steps to verify:

Use the following checklist to track your progress through the test plan:

- Activation
- [ ] [Authentication](#authentication)
- Autocomplete
- [ ] Not available
- Chat
Expand All @@ -78,6 +78,14 @@ Use the following checklist to track your progress through the test plan:
- Edit
- [ ] Not available

## Authentication

- [ ] Opening Cody: Go to `View` > `Other Windows` > `Cody Chat`
- [ ] Verify the Cody window opens with the Sign in page if you are not logged in.
- [ ] Verify the Cody window opens with the `Chat` tab selected if you are logged in.
- [ ] Close the Cody window using the `X` button in the upper right corner
- [ ] Verify that pressing `Alt + L` reopens Cody

## Autocomplete

Verify that Autocomplete is not available (expected behavior).
Expand All @@ -90,13 +98,6 @@ The Chat feature in Cody allows users to interact with the AI to get codebase-re

The Chat View is the primary interface for this interaction.

#### Opening and Closing

- [ ] Open Cody chat window: Go to `View` > `Other Windows` > `Cody Chat`
- [ ] Verify the chat window opens with the `Chat` tab selected
- [ ] Close the chat window using the `X` button in the upper right corner
- [ ] Verify that pressing `Alt + L` reopens the chat window

#### Basic Functionality

- [ ] Submit a chat prompt by pressing `Enter` or clicking the `Send` button
Expand Down Expand Up @@ -170,6 +171,10 @@ Prerequisites:
- [ ] Test the "Sign Out" button in the "Account" tab.
- [ ] Verify that signing out redirects to the sign-in page.

##### Known Limitations

- Switch Account button does not work.

#### Enterprise User Experience

- [ ] Sign in as an enterprise user.
Expand Down
32 changes: 16 additions & 16 deletions src/Cody.VisualStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Cody.VisualStudio" Version="0.0.0" Language="en-US" Publisher="sourcegraph" />
<Identity Id="Cody.VisualStudio" Version="0.0.1" Language="en-US" Publisher="sourcegraph" />
<DisplayName>Cody for Visual Studio - AI Coding Assistant</DisplayName>
<Description xml:space="preserve">AI coding assistant that uses search and codebase context to help you write code faster!</Description>
<MoreInfo>https://sourcegraph.com/cody</MoreInfo>
Expand All @@ -18,21 +18,21 @@
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
Expand Down

0 comments on commit 1341ea0

Please sign in to comment.