Skip to content

Commit

Permalink
preparation for publishing to marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
timkmecl committed Dec 7, 2022
1 parent 1be3ca3 commit 52d1567
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This Visual Studio Code extension allows you to use the [unofficial ChatGPT API](https://github.com/transitive-bullshit/chatgpt-api) to generate natural language responses from OpenAI's [ChatGPT](https://chat.openai.com/chat) to your questions, right within the editor.

### [Marketplace](https://marketplace.visualstudio.com/items?itemName=timkmecl.chatgpt), [Github](https://github.com/timkmecl/chatgpt-vscode)

## Features
- Ask general questions or use code snippets from the editor to query ChatGPT
- View its responses in a panel next to the editor
Expand All @@ -10,13 +12,11 @@ This Visual Studio Code extension allows you to use the [unofficial ChatGPT API]

## Instalation

To just install this extension, download `.vsix` file from Releases.
1. Open the `Extensions` panel in VSCode by going to the `View` menu and selecting `Extensions`.
2. Click on the `...` icon at the top right of the panel, and select `Install from VSIX`.
3. Select the downloaded VSIX file to begin installation.
4. After the installation is complete, you will need to add your ChatGPT session token to the extension settings in VSCode. To do this, open the `Settings` panel by going to the `Code` menu and selecting `Preferences`, then `Settings`.
5. In the search bar, type `ChatGPT` to filter the settings list.
6. In the ChatGPT section, enter your session token in the `SESSION_TOKEN` field.
To use this extension, install it from the VSCode marketplace or download and install `.vsix` file from Releases.

1. After the installation is complete, you will need to add your ChatGPT session token to the extension settings in VSCode. To do this, open the `Settings` panel by going to the `Code` menu and selecting `Preferences`, then `Settings`.
2. In the search bar, type `ChatGPT` to filter the settings list.
3. In the ChatGPT section, enter your session token in the `SESSION_TOKEN` field.

After completing these steps, the extension should be ready to use.

Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"name": "chatgpt",
"displayName": "chatgpt",
"description": "",
"version": "0.2.1",
"displayName": "ChatGPT: write and improve code using AI",
"description": "A VSCode extension that allows you to use ChatGPT in IDE (unofficial)",
"version": "0.2.2",
"publisher": "timkmecl",
"icon": "resources/extensionIcon.png",
"license": "MIT",
"repository": {
"url": "https://github.com/timkmecl/chatgpt-vscode"
},
"engines": {
"vscode": "^1.73.0"
},
Expand Down
Binary file added resources/extensionIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,11 @@
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
"version" "1.0.0"

"fsevents@~2.3.2":
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
"version" "2.3.2"

"fstream@^1.0.12":
"integrity" "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg=="
"resolved" "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz"
Expand Down

0 comments on commit 52d1567

Please sign in to comment.