src/main/kotlin/org/jetbrains/mcpserverplugin/general/formatting.kt [39:47]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if (psiFile == null) {return Response(error = "file doesn't exist or can't be opened")} val codeProcessor: ReformatCodeProcessor = ReformatCodeProcessor(psiFile, false) codeProcessor.setPostRunnable(Runnable { latch.countDown() }) ApplicationManager.getApplication().invokeLater(Runnable { codeProcessor.run() }) latch.await() return Response("ok") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/main/kotlin/org/jetbrains/mcpserverplugin/general/formatting.kt [81:89]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if (psiFile == null) {return Response(error = "file doesn't exist or can't be opened")} val codeProcessor: ReformatCodeProcessor = ReformatCodeProcessor(psiFile, false) codeProcessor.setPostRunnable(Runnable { latch.countDown() }) ApplicationManager.getApplication().invokeLater(Runnable { codeProcessor.run() }) latch.await() return Response("ok") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -