@Override
    public void execute(@NotNull FileViewProvider viewProvider) {
      final PsiFile file = viewProvider.getPsi(viewProvider.getBaseLanguage());
      FormattingService formattingService = FormattingServiceUtil.findService(file, false, false);
      commitDocument(viewProvider);
      formattingService.formatRanges(file, getRanges(formattingService), true, true);
    }
@Override
    public void execute(@NotNull FileViewProvider viewProvider)