@NotNull
  @Override
  public FileEditor createEditor(@NotNull Project project, @NotNull VirtualFile file) {
    TextEditor editor = (TextEditor)TextEditorProvider.getInstance().createEditor(project, file);
    return new TextEditorWithPreview(editor, new RestPreviewFileEditor(file, project));
  }
@NotNull
  @Override
  public FileEditor createEditor(@NotNull Project project, @NotNull VirtualFile file)