diff --git a/hls-explicit-imports-plugin.cabal b/hls-explicit-imports-plugin.cabal
--- a/hls-explicit-imports-plugin.cabal
+++ b/hls-explicit-imports-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               hls-explicit-imports-plugin
-version:            1.2.0.0
+version:            1.2.1.0
 synopsis:           Explicit imports plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -29,7 +29,7 @@
     , containers
     , deepseq
     , ghc
-    , ghcide                ^>=1.9
+    , ghcide                ^>=1.9 || ^>= 1.10
     , hls-graph
     , hls-plugin-api        ^>=1.6
     , lsp
diff --git a/src/Ide/Plugin/ExplicitImports.hs b/src/Ide/Plugin/ExplicitImports.hs
--- a/src/Ide/Plugin/ExplicitImports.hs
+++ b/src/Ide/Plugin/ExplicitImports.hs
@@ -269,7 +269,11 @@
 mkExplicitEdit :: (ModuleName -> Bool) -> PositionMapping -> LImportDecl GhcRn -> T.Text -> Maybe TextEdit
 mkExplicitEdit pred posMapping (L (locA -> src) imp) explicit
   -- Explicit import list case
+#if MIN_VERSION_ghc (9,5,0)
+  | ImportDecl {ideclImportList = Just (Exactly, _)} <- imp =
+#else
   | ImportDecl {ideclHiding = Just (False, _)} <- imp =
+#endif
     Nothing
   | not (isQualifiedImport imp),
     RealSrcSpan l _ <- src,
