Skip to content

Commit

Permalink
fix: infinite indexing / intellisense blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
denbezrukov committed Nov 14, 2024
1 parent 45b9b75 commit 0ccf75f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## Unreleased

### Bug Fixes

- Fix infinite indexing / intellisense blocked ([#66](https://github.com/biomejs/biome-intellij/issues/66))

## 1.0.0

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = providers.gradleProperty("pluginVersion").get()

// Set the JVM language level used to build the project.
kotlin {
jvmToolchain(17)
jvmToolchain(21)
}

// Configure project's dependencies
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
junit = "4.13.2"

# plugins
intelliJPlatform = "2.0.1"
intelliJPlatform = "2.1.0"
kotlin = "1.9.25"

[libraries]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ class BiomeConfigurable(internal val project: Project) :

row(BiomeBundle.message("biome.config.path.label")) {
textFieldWithBrowseButton(
BiomeBundle.message("biome.config.path.label"),
project,
FileChooserDescriptorFactory.createSingleFileOrFolderDescriptor()
.withTitle(BiomeBundle.message("biome.config.path.label")),
project,
) { fileChosen(it) }
.bindText(settings::configPath)
.validationOnInput(validateConfigDir())
Expand Down Expand Up @@ -256,7 +256,8 @@ class BiomeConfigurable(internal val project: Project) :
override fun get(): Boolean =
getter()

override fun afterChange(parentDisposable: Disposable?, listener: (Boolean) -> Unit) {
override fun afterChange(parentDisposable: Disposable?,
listener: (Boolean) -> Unit) {
fun emitChange(radio: JBRadioButton) {
if (radio.isSelected) {
listener(afterConfigModeChangeGetter())
Expand Down

0 comments on commit 0ccf75f

Please sign in to comment.