File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,15 @@ Right now the language server supports the following actions:
61
61
- window/showMessage
62
62
63
63
### Custom additions to Language Server Protocol (server -> client)
64
- - Diagnostics Overview (tabbed tree view)
65
- - method: ` $/snyk.diagnosticsOverview `
66
- - payload:
64
+ - SDKs callback to retrieve configured SDKs from the client
65
+ - method: ` workspace/snyk.sdks `
66
+ - payload: WorkspaceFolder
67
+ - response:
67
68
``` json5
68
- {
69
- " product " : " oss " , // or "code" or "iac"
70
- " html " : " <html>...</html> " , // the html to display the overview tabs/tree
71
- }
69
+ [ {
70
+ " type " : " java " , // or python or go
71
+ " path " : " /path/to/sdk " // JAVA_HOME for java, GOROOT for Go, Python executable for Python
72
+ }]
72
73
```
73
74
- Folder Config Notification
74
75
- method: ` $/snyk.folderConfigs `
You can’t perform that action at this time.
0 commit comments