mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA:Generate Test: committing docs before generation
This commit is contained in:
+1
@@ -156,6 +156,7 @@ public class BaseGenerateTestSupportMethodAction extends BaseGenerateAction {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
PsiDocumentManager.getInstance(file.getProject()).commitAllDocuments();
|
||||
PsiMethod method = generateDummyMethod(editor, file);
|
||||
if (method == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user