VS Code, trying to lint OpenEdge code and getting a error - "Unable to find the quality profile AXHNn5OgMV3qu8DI3TfJ in the SonarLint storage"


We are trying to configure the OpenEdge analyzer with the SonarLint extension in Visual Studio Code, and the source code is not being successfully linted.

We are seeing this error:-

[Info - 07:37:33.323] Unable to find the quality profile AXHNn5OgMV3qu8DI3TfJ in the SonarLint storage. You should update the storage, or ignore this message if the profile is empty.
[Trace - 7:37:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Debug - 07:37:33.323] * oe: 'QL OpenEdge' (0 rules)"

We are using connected mode as follows:-

User setting:-

Workspace setting:-

What is interesting that in SonarQube when backing up this project, the XML file (project key) is: AXHNn5OgMV3qu8DI3TfJ.xml matches the error above. So we do not understand why this profile is not found.

Software versions:
Visual Studio Code Version:
Version: 1.63.2 (system setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
OS: Windows_NT x64 10.0.19042

SonarLint extension in VS Code

SonarQube version –
Data Center EditionVersion 8.7.1 (build 42226)

Snippet from installed plugins (https://<SQ server>/api/plugins/installed)

Hello Terry,

Welcome to the community!

Unfortunately as stated in our FAQ, we don’t run third-party analyzers in SonarLint, and a log trace should have been displayed about that.

As it is very unlikely that we add support for this language (I had never heard of it before this post!), your only choice if you want to support that plugin in the IDE is to fork SonarLint.

As a side note, usually when you get a message about not found quality profiles, you might need to update the binding though the SonarLint: Update all project bindings to SonarQube/SonarCloud command.

Hope this helped

1 Like

As the maintainer of the OpenEdge plugin for SonarQube, I confirm that there is currently no support for VSCode. An OpenEdge language server implementation is planned for 2022 (with OpenEdge lint rules), however I don’t know (yet) how the integration between the LS and SonarLint can be done.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.