01-15-2014 04:27 AM
Hello,
I am wondering how I could split my source file into two (or more) without loosing the tags...
Solved! Go to Solution.
01-15-2014 06:56 AM
Hello Wolfgang!
By 'tags', are you referring to source code documentation tags (e.g. HIFN, HIPAR, HIRET, ARRAY, OUT)?
01-15-2014 07:15 AM
Hello Jay,
sorry for being sloppy: I am referring to the tags you set or reset using Shift+F2...
When preparing a new release I mark the functions I've thoroughly tested and thus consider ready with these tags. Obviously I do not want to loose this information when splitting a long file in order to cut down compilation times (thanks CVI2013...). Since this tag information is saved in the cws file and deleted if you remove a source file in the workspace (you can't rename it...) I did not find a way...
01-15-2014 07:50 AM
Hello again, Wolfgang!
OK, now I understand! However, I'm afraid there's no import mechanism in CVI, so that you could move the tags over to another file, other than doing this operation manually.
It would be however possible to perform a workaround. Since you already have this information in your CWS file (Line Tags field), you could manually copy-paste the line numbers over to the new file containing the source code you splitted from the old file. Some steps:
I'm aware that there's some work involved in performing these operations, but the outcome should be your expected result.
I hope this helps, Wolfgang!
01-15-2014 09:18 AM
Thank you, it works this way!