I'm writing a lot of TP and KAREL in RG. I normally start by right-clicking on "Files" in the navigation tree, "New File", and the file type I want to create. When I do this, the new file appears to be created in the root directory of the cell. Which makes sense, b/c these files are being created at the cell level, not per individual robot. When I use the "build" function, the compiled (TP or PC) version of the ASCII file gets added to the Files tree, and exported into the robot's Program section (I've only been doing this with single-robot cells so far, so I don't know what happens in a multi-robot cell).
Now, the files being stored in the cell root directory is handy, b/c I can open the ASCII files in parallel in NotePad++, which is nicer than the RG editor for some operations. I'd also been thinking about using Git or some other version control on my source files, after very nearly losing weeks of work when RG crashed and completely corrupted my cell this past weekend.
But... when I use the "Add" function of "Files", the pattern seems to break down. What I did:
1. Set the Default Directory in Files to the root directory of the cell
2. Copied my LS and KL files into that directory (the files did not auto-add themselves to the tree, even after rebooting RG)
3. Performed a manual "Add Files" on all the LS and KL files. This worked, but...
Even after that, when I make changes in the RG editor and Save or Build, the changes are not reflected in the actual ASCII files in the cell root directory. Even if I use "Save As," the save path is already defaulted to this directory. Forcing the save generates a "do you want to replace the file" prompt, but if I hit "yes", the actual ASCII file does not update.
So far, the only way I've been able to force the root-directory ASCII files to update is to do an ASCII backup, then copy the LS files from the backup to the root directory. This doesn't work for the KL files, obviously.
So... if I want to find a reliable location on my hard drive where all these source files are located, and get updated when I use Save or Build in the RG editor, what do I need to do?