Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions code-studio/features/context-providers/problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ keywords: code, syncfusion, problems, context, bug-fixing, ai-assistance, coding

# Problems

The problems context in Syncfusion Code Studio makes it easier to fix problems in your code. With the problems context, you can quickly focus on specific issues found in your project. This is useful when you need help with a particular error or bug. It shows file-specific problems and lets the AI give better support based on the code you are currently looking at.
The problems context in Syncfusion Code Studio makes it easier to fix problems in your code. With the problems context, you can quickly correct specific issues found in your project. This is useful when you need help with a particular error or bug. It shows file-specific problems and allows the AI to provide better suggestions based on the code you are currently looking at.



## How to Use the Problems context
## How to Use the Problems Context

### 1. Open the File

Ensure the file with the problem is open in your VS Code editor.
Ensure the file with the problem is open in your Code Studio editor.

<img src="../feature-images/problems-openfile.png" alt="problems file" />

Expand All @@ -27,26 +27,26 @@ Open the chat model window of the Syncfusion Code Studio by clicking the Syncfus
<img src="../feature-images/problems-openchat.png" alt="open chat" />


### 3. Select Problems context
### 3. Select Problems Context

In the chat window, click the `@` button.
> **Note:** If you cannot locate the problems context option in the list, you will need to add it manually by including this context provider in the config.yaml file. Please follow the steps outlined in this [link](/code-studio/features/context-providers/add-more-contextproviders/how-to-configure-more-contextproviders) to do so.

<img src="../feature-images/problems-clickcontext.png" alt="Click context menu" />

From the context menu that appears, choose problems.
From the context menu that appears, choose **Problems**.



<img src="../feature-images/problems-opencontext.png" alt="open context menu" />



### 4. Use problems Context with Query
### 4. Use Problems Context with Query

Input relevant details about the issue in the chat model window and click Enter.
Input relevant details about the issue in the chat model window and press Enter.

The AI will analyze the problems data and offer suggestions or solutions for issues in the currently opened file directly in the chat window. This will help you resolve issues in the file you're working on in the VS Code editor.
The AI will analyze the problems data and offer suggestions or solutions for issues in the currently opened file directly in the chat window. This will help you resolve issues in the file you're working on in the Code Studio editor.


<img src="../feature-images/problems-output.png" alt="problems response" />
<img src="../feature-images/problems-output.png" alt="problems response" />