mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
proper workspace.xml cleanup in template projects in PhpStorm
This commit is contained in:
+1
-1
@@ -265,7 +265,7 @@ public class SaveProjectAsTemplateAction extends AnAction {
|
||||
boolean shouldEncode) throws IOException {
|
||||
String text = VfsUtilCore.loadText(virtualFile);
|
||||
if(!shouldEncode){
|
||||
return text;
|
||||
return ProjectTemplateFileProcessor.encodeFile(text, virtualFile, project);
|
||||
}
|
||||
final FileTemplate template = FileTemplateManager.getInstance(project).getDefaultTemplate(fileHeaderTemplateName);
|
||||
final String templateText = template.getText();
|
||||
|
||||
Reference in New Issue
Block a user