Is it possible to have a "Save As Next Version" menu item? This would increment the version number of the currently open file and save the file with the same name but with the incremented number.
For example, currently open file is "Survey v001.tex". Clicking on "Save As Next Version" would automatically save the file as "Survey v002.tex" i.e. it does a "Save As" automatically but also intelligently renames. If the currently open file is not appropriately named e.g. "Survey.tex", it should be saved as "Survey v001.tex".
I like to save my work continuously and prefer to peridocially (few times a day) as a new version, especially when I've made moderate to major changes. Yes, I know it seems lazy but it would help with keeping the "flow" going with my work without having to rename every time I want a new version.
thanks in advance!
Anonymous
This not a standard functionality and will not implemented into TeXstudio. However, you can achieve these sort of things by user macros. E.g. with the following script.
Note 1: will only work in future version of TXS, because app.fileSaveAs has not been exposed to scripting (That's fixed now in SVN).
Note 2: I've used an underscore instead of a space in the example, because it is not recommended for tex file names to contain spaces.
Note 3: You may consider using a version control system instead, e.g. SVN.
Last edit: Tim Hoffmann 2013-08-20