# Gitlab merge request inline comments decoration

**URL:** <https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443>\
**Category:** Suggest new features\
**Tags:** pull-request-decorat, gitlab, sonarqube\
**Created:** [December 22, 2023, 2:24pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443 "2023-12-22T14:24:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mp01](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mp01](https://community.sonarsource.com/u/mp01)\
**Post date:** [December 22, 2023, 2:24pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/1 "2023-12-22T14:24:40Z")

</div>

Hello,

I installed developer edition of Sonarqube **Version** 10.3.0.82913, and configured Gitlab integration.  
When it analyses a merge request it just adds summary comment on the whole merge request.  
I would prefer it to add inline comments in the merge requests (I’ve seen it earlier with github integration).  
Can I get same functionality for GitLab?

Apart from token and I’m passing the following pullrequest arguments in the pipeline (it did not work without them even though the instruction says it should work out of the box with gitlab):

```auto
mvn clean verify sonar:sonar 
-Dsonar.host.url=${SONAR_HOST_URL} 
-Dsonar.projectKey=${SONARQUBE_PROJECT_KEY} 
-Dsonar.token=${SONAR_TOKEN} 
-Dsonar.qualitygate.wait=true 
-Dsonar.pullrequest.key=${CI_MERGE_REQUEST_IID} 
-Dsonar.pullrequest.branch=${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} 
-Dsonar.pullrequest.base=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}

```

Am I missing some parameter to get the comments INLINE?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 26, 2023, 12:55pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/2 "2023-12-26T12:55:00Z")

</div>

Hey there.

Inline comments aren’t possible with SonarQube’s integration with Gitlab – the summary comment is all you can get.

I’ve moved your post to our **Product Manager for a Day** category.

---

<div class="post-metadata">

**Author:** ![mp01](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mp01](https://community.sonarsource.com/u/mp01)\
**Post date:** [December 27, 2023, 8:07am UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/3 "2023-12-27T08:07:19Z")

</div>

Thank you for the response (eve though it’s not what I hoped for).  
Do you know if there is any plan to implement inline comments in GitLab?  
Or maybe any plugin that enables it?

---

<div class="post-metadata">

**Author:** ![Franck\_Grenier](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/franck_grenier/32/53341_2.png) [@Franck\_Grenier](https://community.sonarsource.com/u/Franck_Grenier)\
**Post date:** [January 15, 2024, 10:39am UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/4 "2024-01-15T10:39:58Z")

</div>

Hello,  
I also need inline comments for Gitlab.

---

<div class="post-metadata">

**Author:** ![james2](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@james2](https://community.sonarsource.com/u/james2)\
**Post date:** [March 15, 2024, 2:39pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/5 "2024-03-15T14:39:31Z")

</div>

Same, +1. This is helpful.

Tools like [https://coderabbit.ai/](https://coderabbit.ai/) do it, in the name of “AI”, and SonarCloud should do it also.

---

<div class="post-metadata">

**Author:** ![alexander.rage](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alexander.rage/32/49178_2.png) [@alexander.rage](https://community.sonarsource.com/u/alexander.rage)\
**Post date:** [March 19, 2024, 9:10am UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/7 "2024-03-19T09:10:35Z")

</div>

Hi,

Thanks for your insights on that topic.  
Could you elaborate on why you would prefer inline comments instead of a summary comment?

Alexander

---

<div class="post-metadata">

**Author:** ![Maurycy\_Gosciniak](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/maurycy_gosciniak/32/67891_2.png) [@Maurycy\_Gosciniak](https://community.sonarsource.com/u/Maurycy_Gosciniak)\
**Post date:** [March 19, 2025, 12:57pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/10 "2025-03-19T12:57:12Z")

</div>

Is this still the case and inline comments in GitLab do not exists?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 20, 2025, 3:04pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/11 "2025-03-20T15:04:00Z")

</div>

Hi @Maurycy_Gosciniak,

Welcome to the community!

Yes, it’s still the case.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![whitediver](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/whitediver/32/53827_2.png) [@whitediver](https://community.sonarsource.com/u/whitediver)\
**Post date:** [September 17, 2025, 12:11pm UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/13 "2025-09-17T12:11:01Z")

</div>

Cause then I do a code-review I prefer to stay with the context instead of jumping the different windows. Ability to leave inline comments were implemented in community plugins.

Was this feature still not available?

---

<div class="post-metadata">

**Author:** ![o.lashyn](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/o.lashyn/32/72823_2.png) [@o.lashyn](https://community.sonarsource.com/u/o.lashyn)\
**Post date:** [October 8, 2025, 8:29am UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443/14 "2025-10-08T08:29:35Z")

</div>

Hi! Just me being curious, what plugin are you talking about? Are these plugins still active/working? Would be cool, if you can share them.
