I mistakenly deleted several files from my computer through R-Studio. Is there a way to recover these files? They were deleted in the files pane. I tried looking in the trash bin but the files are not there.
Related
I've been dragging a few assets into my project in Xcode, and while I know you can check that box for 'copy items if needed', that doesn't always show up and so I end up with files that are located in scattered locations on my hard drive. I know I could manually put the files in the project folder, but is there no way to automatically copy external files to an internal location?
I accidentally deleted my index.html file instead of my selected line of code. Dragging the file back into Atom imported the entire .trash folder. I thought, well, I can't take out a root directory, but I've deleted the content within before. I can live with that.
Of course, whatever I deleted came straight back to trash!! Is there any way to fix this or will I have to transfer everything to a new project and burn this one?
I frequently take projects between work and home on a flash drive. I zip up the project with 7zip, take it to the new computer, delete the old project, and extract the newer version. But after doing this the solution doesn't open the files I had open previously like it normally does when re-opening a solution without replacing it with a new version.
The 7z file does include the hidden .vs folder which I believe is where the list of open files is supposed to be saved.
My Task Canvas extension automatically saves open files on solution closing and restores them when you reopen the solution. It works with relative paths and information is saved to a .TaskCanvasSL file in the solution directory.
(But this is just one feature and doesn't justify purchase if you don't need the whole code fragments and tasks concept.)
I had done a lot of work in a project and when I tried to import a ton of images to put them under supporting folders something in the image files seemed to have caused xcode to start throwing errors and in a panic I accidentally deleted the info.plist file (that comes with a new project by default). This is not a file that I know anything about and I have just taken it for granted so far. Can anyone help me restore it, or do I have to start over? Thanks.
I have done this before. Check the Trash on your computer, it should be in there and re-add it to the project.
I also accidentally deleted my plist file, it wasn't present in trash neither in my repo (I had included it in .gitignore ,which I won't do in future). The thing which worked for me was one copy of this file was present in platforms->ios->en.lproj folder so I copied that file to platforms->ios folder and after that build was successful. Somehow this copy file was not showing in my vscode command pallete as well
Something has become buggered with my project.
I can't delete files or rename files from Project Navigator view.
It may have something to do with source control? If I highlight 5 files in Project Navigator and hit delete and then move to trash the first file gets a source control "D" marking beside it but all of the files still remain.
Restarting mac/xcode has not resolved it. Any ideas?
Same thing happens to me for a while now.
Using git.
So far I'm able to work around this by deleting the files one at a time, which moves the file to trash but doesn't remove the reference. And then deleting the references again.
Similar problem with adding files to the project and renaming them.
For adding: first move/copy the required file in the project folder to the desired location, and then add from Xcode deselecting the "Copy items..." checkbox.
For renaming: find file in finder, rename IN FINDER, then change the name accordingly in Xcode (or choose the file again from the right panel).
Hopefully we won't have problems like these after moving to Xcode 5.