Skip to content

Commit

Permalink
SLLS-221 make binding no-match error more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
sophio-japharidze-sonarsource committed Aug 28, 2024
1 parent d2d9ffa commit 5a56569
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ public AssistBindingResponse assistBinding(AssistBindingParams params, SonarLint
@Override
public void noBindingSuggestionFound(String projectKey) {
var messageRequestParams = new ShowMessageRequestParams();
messageRequestParams.setMessage("SonarLint couldn't match SonarQube project '" + projectKey + "' to any of the currently " +
"open workspace folders. Please open your project in VSCode and try again.");
messageRequestParams.setMessage("SonarLint couldn't match the server project '" + projectKey + "' to any of the currently " +
"open workspace folders. Please make sure the project is open in the workspace, or try configuring the binding manually.");
messageRequestParams.setType(MessageType.Error);
var learnMoreAction = new MessageActionItem("Learn more");
messageRequestParams.setActions(List.of(learnMoreAction));
Expand Down

0 comments on commit 5a56569

Please sign in to comment.