-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About LineNumbers displaying on Issue #15
Comments
Hi, |
The xml plugin from sonar has some nice helpers to find the line numbers (XmlTextRange).
|
This reverts commit 8eaba57.
hello Does Mule sonar plugin codebase has this change of showing line numbers in file where bug is ? thanks |
Hi @abhayagarwalonline , All others currently does not have an locationHint xpath and so still are showing on top of file. |
thanks for the reply ... please let me know how to add locationHint xpath for other Rules |
Just edit the rules-4.xml (and create a pull-request) ;-) Each body of the nodes has a boolean xpath. Example:
locationHint= Maybe just the "count(" parameter is working as well, but I did not check it: |
Thanks for the reply, I will check and revert if it works for me |
The locationHint without the name space locationHint="//mule/http:listener-config" doesn't seems to be working. I have used locationHint="//http:request" which will return the all http:request nodes. But it isn't working |
Did you try |
HI,
I am Uisng the SonarQube to check my Mule Code Quality,
But for Java,C++... other languages it is displaying the Line number at right side corner but it is not for MuleCode see below fig.
I think should be more useful for quick understanding and fixing the issue if it has that feature.
Thanks,
The text was updated successfully, but these errors were encountered: