-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: main
Are you sure you want to change the base?
Conversation
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
} | ||
|
||
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
if (!param.isEmpty()) { | ||
String[] keyValue = param.split("="); | ||
|
||
if (keyValue.length == 2) { |
Check warning
Code scanning / PMD
Avoid using literals in if statements Warning
7655879
to
269c2ae
Compare
Description
Will select the treenode when a code lens or a code action is triggered.
Will display the issue in details view.
Checklist
Screenshots / GIFs
Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!