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

feat: select treenode on snyk showdocument [WIP] #260

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

acke
Copy link
Contributor

@acke acke commented Feb 24, 2025

Description

Will select the treenode when a code lens or a code action is triggered.
Will display the issue in details view.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@acke acke changed the title feat: select treenode on snyk showdocument WIP feat: select treenode on snyk showdocument [WIP] Feb 24, 2025
SnykLogger.logInfo(String.format("Invalid URI: 'issueId' empty"));
}

if (scheme.equals("snyk") && product.equals(DIAGNOSTIC_SOURCE_SNYK_CODE)

Check warning

Code scanning / PMD

Position literals first in String comparisons Warning

Position literals first in String comparisons
}

if (scheme.equals("snyk") && product.equals(DIAGNOSTIC_SOURCE_SNYK_CODE)
&& action.equals("showInDetailPanel")) {

Check warning

Code scanning / PMD

Position literals first in String comparisons Warning

Position literals first in String comparisons
if (!param.isEmpty()) {
String[] keyValue = param.split("=");

if (keyValue.length == 2) {

Check warning

Code scanning / PMD

Avoid using literals in if statements Warning

Avoid using literals in if statements
@acke acke force-pushed the feat/IDE-957_code_action_opens_issue_panel branch from 7655879 to 269c2ae Compare February 24, 2025 21:46
@acke acke marked this pull request as ready for review February 25, 2025 09:28
@acke acke requested a review from a team as a code owner February 25, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant