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

fix: send config before adding a workspace folder [IDE-668] #635

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- Add "plugin installed" analytics event (sent after authentication)
- Added a description of custom endpoints to settings dialog.

### Fixed
- folder-specific configs are availabe on opening projects, not only on restart of the IDE

## [2.10.0]
### Changed
- save git folder config in settings
Expand Down
3 changes: 1 addition & 2 deletions src/main/kotlin/io/snyk/plugin/ui/SnykSettingsDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,7 @@ class SnykSettingsDialog(

val netNewIssuesText =
JLabel(
"Specifies whether to see only net new issues or all issues. " +
"Only applies to Code Security and Code Quality."
"Specifies whether to see only net new issues or all issues. This setting does not apply for Snyk Container."
).apply { font = FontUtil.minusOne(this.font) }

netNewIssuesPanel.add(
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/snyk/common/lsp/LanguageServerWrapper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ class LanguageServerWrapper(
if (disposed || project.isDisposed) return
ensureLanguageServerInitialized()
ensureLanguageServerProtocolVersion(project)
updateConfiguration()
val added = getWorkspaceFolders(project)
updateWorkspaceFolders(added, emptySet())
}
Expand Down
Loading