chatgpt-code-analyzer

所属分类:GPT/ChatGPT
开发工具:JavaScript
文件大小:49KB
下载次数:0
上传日期:2023-04-10 00:10:57
上 传 者sh-1993
说明:  chatgpt代码分析器,,
(chatgpt-code-analyzer,,)

文件列表:
.eslintrc.json (357, 2023-04-10)
.vscode (0, 2023-04-10)
.vscode\extensions.json (169, 2023-04-10)
.vscode\launch.json (462, 2023-04-10)
.vscode\settings.json (444, 2023-04-10)
.vscode\tasks.json (366, 2023-04-10)
.vscodeignore (135, 2023-04-10)
LICENSE (1116, 2023-04-10)
images (0, 2023-04-10)
images\logo.png (12483, 2023-04-10)
package-lock.json (111352, 2023-04-10)
package.json (1828, 2023-04-10)
src (0, 2023-04-10)
src\chatgpt.js (1454, 2023-04-10)
src\extension.js (4489, 2023-04-10)
src\test (0, 2023-04-10)
src\test\runTest.ts (652, 2023-04-10)
src\test\suite (0, 2023-04-10)
src\test\suite\extension.test.ts (459, 2023-04-10)
src\test\suite\index.ts (753, 2023-04-10)
src\testExtension.js (365, 2023-04-10)

# ChatGPT Code Analyzer for Visual Studio Code The ChatGPT Code Analyzer is a Visual Studio Code extension that uses the OpenAI ChatGPT API to analyze your code and detect potential security vulnerabilities. The extension works with various file types and supports both single file and whole project analysis. ## Features - Analyze a single file for security vulnerabilities - Analyze an entire project for security vulnerabilities ## Installation Install the ChatGPT Code Analyzer extension from the Visual Studio Code Marketplace. After installation, you will be prompted to enter your OpenAI API key. You can also set your API key by adding it to your settings.json file: ```json { "chatgpt-code-analyzer.apiKey": "" } ``` ## Usage ### Analyze a single file 1. Open a file you want to analyze in Visual Studio Code. 2. Right-click within the editor and select "Analyze File for Security Vulnerabilities" from the context menu or press `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows/Linux) and type "Analyze File for Security Vulnerabilities" to execute the command. ### Analyze an entire project 1. In the Visual Studio Code Explorer, right-click the root folder of your project. 2. Select "Analyze Project for Security Vulnerabilities" from the context menu or press `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows/Linux) and type "Analyze Project for Security Vulnerabilities" to execute the command. ## Requirements Visual Studio Code 1.60 or newer OpenAI API key ## License This project is licensed under the MIT License.

近期下载者

相关文件


收藏者