public void selectNextWindow(@NotNull DataContext context) { final FileEditorManagerEx fileEditorManager = getFileEditorManager(context); final EditorWindow current = fileEditorManager.getCurrentWindow(); if (current != null) { fileEditorManager.getNextWindow(current).setAsCurrentWindow(true); } }