Skip to content

Commit c2fad64

Browse files
committed
fix(amazonq): optimize imports
1 parent 3e0bb8e commit c2fad64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImpl.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import com.intellij.diff.requests.SimpleDiffRequest
99
import com.intellij.ide.BrowserUtil
1010
import com.intellij.notification.NotificationAction
1111
import com.intellij.notification.NotificationType
12+
import com.intellij.openapi.application.ApplicationInfo
1213
import com.intellij.openapi.application.ApplicationManager
1314
import com.intellij.openapi.fileChooser.FileChooser
1415
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory
@@ -20,7 +21,6 @@ import com.intellij.openapi.vfs.LocalFileSystem
2021
import com.intellij.openapi.vfs.VfsUtil
2122
import com.intellij.openapi.vfs.VfsUtilCore
2223
import com.intellij.openapi.vfs.VirtualFileManager
23-
import com.intellij.openapi.application.ApplicationInfo
2424
import migration.software.aws.toolkits.jetbrains.settings.AwsSettings
2525
import org.eclipse.lsp4j.ApplyWorkspaceEditParams
2626
import org.eclipse.lsp4j.ApplyWorkspaceEditResponse
@@ -616,11 +616,11 @@ class AmazonQLanguageClientImpl(private val project: Project) : AmazonQLanguageC
616616

617617
/**
618618
* Checks if the current JetBrains IDE version supports the withExtensionFilter API.
619-
*
619+
*
620620
* The withExtensionFilter method was introduced in IntelliJ Platform 2024.3 (baseline version 243).
621621
* For older versions, we need to fall back to withFileFilter which provides similar functionality
622622
* but with different UI behavior (files are not visually filtered in the file chooser dialog).
623-
*
623+
*
624624
* @return true if the IDE version supports withExtensionFilter (2024.3+), false otherwise
625625
*/
626626
private fun isExtensionFilterSupported(): Boolean {

0 commit comments

Comments
 (0)