Add Code Master functionalities directly on Visual Studio! This powerful tool enhances your coding experience in Visual Studio by providing , context-aware chat, and easy access to your project's files. Below, you'll find an overview of its features, how to use them, and the data each feature can access.
Features
1. Code Master Solution Context 👩💻
Description: The Code Master Solution Context window allows you to manage the files and projects that the extension uses to enhance its knowledge base.
Knowledge Access:
Solution Files: The feature scans your solution to access projects and files that you choose to include in its knowledge base.
Note:
If you make changes to your files, be sure to save them before refreshing the context.
Select only the necessary files to optimize performance.
In cases of a large context, consider using the LLM model (Flash) for improved efficiency.
How to Use:
Open the Solution Context window by navigating to View -> Other Windows -> Code Master Solution Context.
Click the Refresh button to scan your solution.
Check the boxes next to the modules, projects, and files you want to include in the knowledge base.
2. Code Master Chat 💬
Description: The Code Master Chat is an AI-powered assistant that can interact with you about your code, similar to ChatGPT, but with the ability to access and understand the context of your current code. It can provide code-related suggestions, explanations, and solutions based on the code you're working on.
Knowledge Access:
One Of
Current Active File: The extension can read and analyze the code in the file you are currently working on.
Highlighted Text: If you have selected or highlighted specific code in the editor, the extension will prioritize and focus on that context for more targeted suggestions and responses.
Selected Files: The extension can access files that you have chosen to include from the Solution Context window.
How to Use:
Open the Chat window by navigating to View -> Other Windows -> Code Master Chat.
Type your question or request in the chat input area.
If you want to focus on a specific section of code, highlight the text in the editor before opening the chat.
Press Ctrl + Enter to send your message and receive a response.
3. Contextual Commands 🛠
Description: Select or highlight any text, right-click, and find the Code Master menu with the following commands:
Complete: Start writing a method, select it, and ask for completion. This command accesses the current active file and the selected text.
Context Complete: Similar to the Complete command, but it also accesses selected files from the Solution Context window.
Explain: Write an explanation of the selected code.
Add Summary: Automatically generate a summary for selected C# methods.
Add Summary for Entire Class: Generate a summary for an entire C# class, including methods, properties, enums, interfaces, and classes. No selection is needed; just run the command.
Knowledge Access:
Current Active File: The extension can read and analyze the code in the file you are currently working on.
Selected Text: When you highlight text, the extension can use this context for more focused suggestions and commands.
Selected Files (For Context Complete Only): The extension can access files that you have chosen to include from the Solution Context window.