Skip to content

Commit

Permalink
Merge pull request #53 from dprint/fix-on-save-config-and-release-0.4.2
Browse files Browse the repository at this point in the history
Fix run on save config and release 0.4.2
  • Loading branch information
ryan-rushton committed Dec 1, 2022
2 parents 5f57134 + 5d23c0e commit 65f5fe6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# dprint-intellij-plugin Changelog

## [Unreleased]
- Fix issue with run on save config not saving

## [0.4.1]
- Fix null pointer issue in external formatter
Expand Down Expand Up @@ -75,4 +76,4 @@
- Fix issue where the inability to parse the schema would stop a project form opening.

## [0.1.2]
- Release first public version of the plugin.
- Release first public version of the plugin.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=com.dprint.intellij.plugin
pluginName=dprint-intellij-plugin
pluginVersion=0.4.1
pluginVersion=0.4.2
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild=221
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/dprint/config/ProjectConfigurable.kt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class ProjectConfigurable(private val project: Project) : BoundSearchableConfigu
row {
checkBox(DprintBundle.message("config.verbose.logging"))
.bindSelected(
{ userConfig.state.runOnSave },
{ userConfig.state.runOnSave = it }
{ userConfig.state.enableEditorServiceVerboseLogging },
{ userConfig.state.enableEditorServiceVerboseLogging = it }
)
.comment(DprintBundle.message("config.verbose.logging.description"))
}
Expand Down

0 comments on commit 65f5fe6

Please sign in to comment.