# Fixing issues

Depending on the issue, you may get fix suggestions in the **How can I fix it?** tab of the issue. You can also open the issues in your IDE as described below.

{% hint style="info" %}
With the AI CodeFix feature, you can get AI-generated fix suggestions. This feature is available in [Early Access](https://www.sonarsource.com/legal/early-access/?_gl=1*1cnxd7l*_gcl_aw*R0NMLjE3MjYwNjEzMzYuQ2p3S0NBandfNFMzQmhBQUVpd0FfNjRZaHRaajloc0NiVllqSDlWQnBFNThseVJNU3AwRGZJXzFxVUlpVEM5OGNzeWdZTG9lenF1ZU1ob0NyMGtRQXZEX0J3RQ..*_gcl_au*NzgzMTE3MTA4LjE3MjQwNjY1Mjc.*_ga*MjA1OTIwMzU4OS4xNzI0MDY2NTI3*_ga_9JZ0GZ5TC6*MTcyNjA5MzA2Ni4zNy4xLjE3MjYwOTMwNzMuNTMuMC4w) in SonarQube Server. Learn more about it in the [Fixing issues](https://app.gitbook.com/s/iJj3TXBdWssTGGg8qK5I/user-guide/issues/fixing "mention").
{% endhint %}

## Opening issues in your IDE <a href="#opening-in-ide" id="opening-in-ide"></a>

To speed up the time it takes to find and fix the issue, use [connected-mode](https://docs.sonarsource.com/sonarqube-community-build/user-guide/connected-mode "mention") to connect SonarQube Community Build with SonarQube for IDE and use the **Open in IDE** feature.

{% hint style="info" %}
If you’ve already fixed the issue in your code, SonarQube for IDE will not be able to find it in the IDE; only matching code will be highlighted. Keep in mind that the revision or branch analyzed by SonarQube Community Build may not be the same as what you have opened in the IDE. When setting up connected mode, SonarQube for IDE considers the branch currently checked out in the IDE and tries to synchronize it with the most appropriate branch from the server. This is called branch matching in SonarQube for IDE.
{% endhint %}

To open an issue in your IDE, it’s easier if you are already running in [connected-mode](https://docs.sonarsource.com/sonarqube-community-build/user-guide/connected-mode "mention"):

1. Retrieve the issue, see [retrieving](https://docs.sonarsource.com/sonarqube-community-build/user-guide/issues/retrieving "mention") for more details.
2. In the **Where is the issue?** tab, select **Open in IDE**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-community-build/user-guide/issues/fixing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
