Skip to content
Open
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
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

// Use the same version and group for the jar and the plugin
val currentVersion = "2.2.0"
val currentVersion = "2.2.1"
val myGroup = "com.mituuz"
version = currentVersion
group = myGroup
Expand All @@ -39,6 +39,12 @@ intellijPlatform {

changeNotes = """
<h2>Version $currentVersion</h2>
<ul>
<li>
Update dependencies
</li>
</ul>
<h2>Version 2.2.0</h2>
<ul>
<li>
Implement Fuzzy File Search (Open Tabs) action
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 2.2.1

- Update dependencies

## Version 2.2.0

- Implement Fuzzy File Search (Open Tabs) action
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[versions]
junit5 = "6.0.1"
junit5 = "6.0.3"
junit4 = "4.13.2"
kotlin = "2.2.21"
intellijPlatform = "2.11.0"
kover = "0.9.3"
kover = "0.9.7"
communityVersion = "2025.1"
mockk = "1.14.6"
mockk = "1.14.9"

[libraries]
junit5Api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit5" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

package com.mituuz.fuzzier.grep.backend

import com.intellij.openapi.application.ReadAction
import com.intellij.openapi.application.readAction
import com.intellij.openapi.components.service
import com.intellij.openapi.module.ModuleManager
import com.intellij.openapi.project.Project
Expand Down Expand Up @@ -136,7 +136,7 @@ object FuzzierGrep : BackendStrategy {
val firstCompleteWord = searchMatcher.extractFirstCompleteWord(searchString)

if (firstCompleteWord != null) {
ReadAction.run<Throwable> {
readAction {
val helper = PsiSearchHelper.getInstance(project)
helper.processAllFilesWithWord(
firstCompleteWord,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

package com.mituuz.fuzzier.intellij.iteration

import com.intellij.openapi.application.ReadAction
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.fileEditor.FileEditorManager
import com.intellij.openapi.project.Project
import com.intellij.openapi.roots.ProjectFileIndex
Expand All @@ -40,9 +40,9 @@ class OpenTabsCollector : IterationFileCollector {
val fileEditorManager = FileEditorManager.getInstance(project)
val projectFileIndex = ProjectFileIndex.getInstance(project)

ReadAction.run<Throwable> {
ApplicationManager.getApplication().runReadAction {
for (vf in fileEditorManager.openFiles) {
if (!shouldContinue()) return@run
if (!shouldContinue()) return@runReadAction
if (fileFilter(vf)) {
val module = projectFileIndex.getModuleForFile(vf)
val moduleName = module?.name ?: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

package com.mituuz.fuzzier.intellij.iteration

import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.fileEditor.FileEditorManager
import com.intellij.testFramework.TestApplicationManager
Expand Down Expand Up @@ -62,7 +63,7 @@ class OpenTabsCollectorTest {
val file2 = fixture.findFileInTempDir("src/file2.txt")

runInEdtAndWait {
runReadAction {
ApplicationManager.getApplication().runReadAction {
fileEditorManager.openFile(file1, true)
fileEditorManager.openFile(file2, true)
}
Expand All @@ -85,7 +86,7 @@ class OpenTabsCollectorTest {
val file2 = fixture.findFileInTempDir("src/file2.txt")

runInEdtAndWait {
runReadAction {
ApplicationManager.getApplication().runReadAction {
fileEditorManager.openFile(file1, true)
fileEditorManager.openFile(file2, true)
}
Expand All @@ -105,7 +106,7 @@ class OpenTabsCollectorTest {
val file2 = fixture.findFileInTempDir("src/file2.txt")

runInEdtAndWait {
runReadAction {
ApplicationManager.getApplication().runReadAction {
fileEditorManager.openFile(file1, true)
fileEditorManager.openFile(file2, true)
}
Expand Down
Loading