@Override
  public void setDefaultCharsetForPropertiesFiles(final @Nullable VirtualFile virtualFile, final Charset charset) {
    Project project = guessProject(virtualFile);
    if (project == null) return;
    EncodingProjectManager.getInstance(project).setDefaultCharsetForPropertiesFiles(virtualFile, charset);
  }
@Override
  public void setDefaultCharsetForPropertiesFiles(final @Nullable VirtualFile virtualFile, final Charset charset)