New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent unsafe settings of "temp_files_exts" #1417
Comments
Not currently. While I can see there could be some value to something like this, I would be hesitant to make too many assumptions about what other peoples' projects look like.... Maybe (though this is a stretch) the source code is all in |
Some authors prefer to include PDF-images in their tex files, rather thatn JPG or PNG, because JPG and PNG are raster images. Such PDF files are generated with other tools (like Mathematica). If such PDF files are deleted, it would be troublesome to regenerate them. |
Would "temp_files_exts_confirmed" be helpful? I mean, it someone wants to modify "temp_files_exts", he must do it twice. Just like changing the password. |
I'd honestly think it's more worthwhile to add a confirmation prompt to the "Delete Temp Files" command that says "Are you sure?". We could even generate a list of affected files... |
I think this is a good idea. |
If someone added some idiot exts (e.g., ".tex" and ".pdf") to "temp_files_exts", when he press "Ctrl+L, Delete", it would be a disaster. Is there a mechanism (like a whitelist) to prevent such dumb settings?
Thank you so much for your reading.
The text was updated successfully, but these errors were encountered: