Skip to content

Codinsight is a VS Code extension that provides intelligent code explanations. It leverages Large Language Models to analyze and explain code snippets, making code comprehension faster and easier.

License

Notifications You must be signed in to change notification settings

Cinex10/codinsight

Repository files navigation

Codinsight

Codinsight is a Visual Studio Code extension that helps developers understand code quickly and easily. It uses advanced language models to provide insightful explanations of selected code snippets, making it easier to comprehend complex or legacy code.

Features

  • Code Explanation: Select any piece of code and get a detailed explanation.
  • Syntax Highlighting: Explanations include syntax-highlighted code snippets for better readability.
  • Context-Aware Analysis: The extension considers the context of your code to provide more accurate explanations.
  • Support for Multiple Languages: Works with various programming languages supported by VS Code.

Installation

  1. Open Visual Studio Code
  2. Go to the Extensions view (Ctrl+Shift+X)
  3. Search for "Codinsight"
  4. Click Install

Usage

  1. Select a piece of code in your editor
  2. Right-click and choose "Explain Selected Code" from the context menu, or use the command palette (Ctrl+Shift+P) and type "Explain Selected Code"
  3. A new panel will open with a detailed explanation of the selected code

Requirements

  • Visual Studio Code version 1.60.0 or higher

Extension Settings

This extension contributes the following settings:

  • codinsight.maxTokens: Maximum number of tokens to use for code explanation (default: 1000)
  • codinsight.language: Preferred language model for code explanation (default: "llama3-8b-8192")

Known Issues

  • Highly specialized or domain-specific code may receive generic explanations

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Codinsight is a VS Code extension that provides intelligent code explanations. It leverages Large Language Models to analyze and explain code snippets, making code comprehension faster and easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published