Skip to content
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

Running SonarLint - ABL in Visual Studio Code shows different number of issues every time I run without changing the code #1143

Closed
ionpaseabroadridge opened this issue Sep 12, 2024 · 3 comments
Assignees

Comments

@ionpaseabroadridge
Copy link

I installed the latest SonarLint ABL extension in Visual Studio Code. It connects properly to SonarQube, and binds to the project in SonarQube properly. Everything seems to be running. I opened a file in the VSC and it shows a number of problems based on the CABL rules that we have activated in SonarQube. If I make a change that has no effect like (add a space at the end of a line and save) the number of problems being reported is different than before. If I delete the space and save again, the number of problems is different again (different than the two situations before). This issue is not new. It was there with the original SonarLint and the workaround of generating the cabl.json and placing it in .vscode

@gquerret
Copy link
Contributor

As this may be related to your context, can you check which issue is missing / added when saving the file again ?
You can easily do that by using the "Problems" view, filter on the active file only, and then copy / pasting the list of issues into a text file (right-file on the file name in the problems view will generate a json file).

@gquerret gquerret self-assigned this Sep 23, 2024
@gquerret
Copy link
Contributor

gquerret commented Nov 6, 2024

Just to keep you posted about this issue, this issue has been reproduced in a different environment. This is being worked on.

gquerret added a commit that referenced this issue Nov 6, 2024
@gquerret
Copy link
Contributor

gquerret commented Nov 6, 2024

Issue found, fix will be available in sonar-openedge 2.29.

@gquerret gquerret closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants