XSubs deparsing usability issues
I agree that the IDE should permit you to terminate it. Also it would be nice if you could see what it was complaining about (the deparse script), rather than just have it hang with no feedback. That's why I ran it in the console so I could see what the problem was.
Another semi-related issue (for me) is that running the script to regenerate from within the IDE fails when I have a project directory mounted using sshfs. The script itself actually succeeds, but I get this error:
"Error Creating XSubs Result File: Failed to change read-only flag for {project-path}/_Deparsed_XSubs.pm" (where {project-path} is the literal path to my project). This is happening because on the sshfs mount, the Java code in plugin/core/src/com/perl5/lang/perl/xsubs/PerlXSubsState.java (around line 283) is failing to set the read-only flag once it is done. Would be nice if it would not abort due to that. It could still mark the XSubs as current and do the "FileContentUtilCore.reparseFiles(newFile);" line, etc even though the set-readonly failed. As it is, I can not get the XSubs "updated" on this project because of that.
Originally posted by @djstauffer in https://github.com/Camelcade/Perl5-IDEA/issues/1650#issuecomment-672180784