@Nullable
      @Override
      public Charset getDefaultMapping(@Nullable VirtualFile file) {
        return prjManager.getEncoding(file, true);
      }
@Nullable
      @Override
      public Charset getDefaultMapping(@Nullable VirtualFile file)