Sage VS Code ExtensionSage is a VS Code extension that provides developers with a suite of tools to enhance their coding experience. With features like code refactoring, bug analysis, test generation, and documentation generation, Sage aims to streamline the development process and improve code quality. Features
UsageOpen the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS) and select: Refactor CodeTo refactor your code, open the command pallet and run:
Analyze for BugsTo analyze your code for potential bugs, open the command palette and run:
Generate TestsTo generate tests for your code, open the command palette and run:
Generate DocumentationTo generate markdown documentation for your code, open the command palette and run:
Installation
ConfigurationBy default, the extension connects to http://localhost:3000 for backend services. You can change this by updating the Setting Up the Backend ServerTo ensure the Sage extension functions correctly, you'll need to set up and run the backend server provided in this repository: Sage Backend Repository. Steps:
Replace YOUR_OPENAI_API_KEY with your actual OpenAI API key and YOUR_OPENAI_ORG_ID with your OpenAI organization ID (if you have one).
The server will start and by default listen on ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. |