Subversion directory in Documents has corrupted file structure - windows

When my tortoise svn folder of my project is in my Documents folder it shows lots of strange svn type files, and no directory structure, just everything in one messy folder. However when I cut and paste the directory out of Documents to say c:\, I see the files and folders just fine, without all the subversion strange files?!? I have windows 7 Pro, 64 bit. I wanted to give an image of the strange files but need a rep of 10....

In the upper-right corner of the Document directory in question, make sure that Arrange by: is set to Folder rather than Name.
Alternatively, press Alt to open the menu bar, and select View -> Arrange by -> Folder
The Name view is consolidating everything into a flat structure, and displaying non-hidden files that are contained within the hidden .svn directories.

Related

Sublime text 3065 sidebar root directory

OK so if i want to create a new project i drag and drop a folder onto the sidebar, after which the contents show up in the sidebar.
My question is, is there any way to hide the root folder (as indicated)?
To clarify, I dont want to have to go inside the 'Wordpress' folder and add the substructure manually to create a project (ctrl+a , drag drop). I just want to be able to drag and drop the root directory (Wordpress in this case) and have it add all subfolders / files without it showing the root Wordpress Folder.
I just find it annoying for example, if i wanted to get into wp-admin the possibility of misclicking and collapsing the entire directory.
No, there is no way to do this. The base folder is the base folder, and is the container which holds all its files and subfolders. If you remove it, you have no way of identifying where the contents are located. If you want quick access to one of the subfolders, just add it to your project.
Additionally, with the latest releases of ST3, mis-clicking the wrong folder is no longer an issue, as Sublime remembers all the open subfolders, and the entire chain will be restored just like it was if you clicked again.

XCode blue folders aren't being treated as subdirectories?

Okay, I had asked a question earlier about how I could create my own directories within XCode so as to be able to search for specific files more efficiently. I re-imported my files, this time making sure to create folder references instead of flat groups. Everything looks good, and my files are neatly organized in blue folders.
Now I had thought this would mean the paths to the files within these folders would change, and I could search through the new, more specific paths (instead of having to search through the contents of the entire application bundle every time). But the path for every file in any folder is still identical to what it was earlier.
For example: a text file called "items.txt" is located within the "SupportingFiles" folder that I imported as a reference. I would expect the path to include "/SupportingFiles/items.txt". But the path is logged as /Users/Mike/Library/Application Support/iPhone Simulator/5.1/Applications/(lots of numbers and text)/Adventurer BASE.app/items.txt.
Or "xxDefault.txt", which is included in the "Defaults" folder, which itself is in the "SupportingFiles" folder. I would expect to see "SupportingFiles/Defaults/xxDefault.txt" or something like it. But again, the logged path ends in "Adventurer BASE.app/xxDefault.txt"
Every single file in any location has a path ending in "Adventurer BASE.app/(file name)". Doesn't matter if it's on the simulator or an actual device. I thought importing the resources within folder references (blue folders) was supposed to do the trick, but evidently there's something else to be done.
Clearly I am misundertanding XCode's filing system. Any help figuring it out would be awesome, as I'm about to rip my hair out.
Sounds like a caching issue, my first idea would be to delete the build directory by holding down the alt key, access the Product menu and select Clean Build Folder... in Xcode.
After checking #InsertWittyName's suggestion (which is fairly likely correct), make sure that in your Copy Files step you're copying the folder reference and not the individual files.
The blue folder in Xcode is within the main bundle. It is not in the "Application Support" (NSApplicationSupportDirectory) tree. The path to the blue Xcode folder is:
NSString *sourcePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:#"SupportingFiles"];

Why the button "Tree Hierarchy" in Folder Diff of Perforce disabled?

I have a problem when using Perforce.
I'm using P4V, but don't know the Perforce Server version.
There are often some files in our project that don't need to be version-controlled. And I found a way to exclude folders or files from Perforce by editing the Workspace View.
Using "-//depot/. //Perforce/..." or "-//depot/*.dll //Perforce/*.dll" I could exclude all files or folders in a path. Then the Folder Diff will mark them with "Excluded Folder". The world is clean.
BUT! there are a lot of projects, and each of them has the same folders that we don't need like "bin" "obj", and with WebStorm there are ".idea"s, and with ReSharper there are a lot of folders starts with "_ReSharper", very disgusting.
With the articles here and here, the wildcards (...\*) seem to be put in the middle of path, like "//Perforce/.../bin/...", to let Folder Diff exclude every descendant folder names "bin".
But there is the problem. When I use "Diff Against.." Then the Folder Diff view shows up. All the files are not shown in tree view but in list view. The button "Show files in a tree hierarchy" up there is disabled. And the most important thing is that excluded folders /files in workspace view are lying down there.
When I delete the descendant folder path, it turns normal with tree view and marked "exclude folders"
I have no idea about that. Could anyone tell me what happened there?

How to quickly add back missing file in xcode

I zipped up my project folder in xcode and moved it to a new computer. When I open up the project it has missing files (file appears red).
How can I add all these files back or re-link them. It is like 20+ files?
Why didnt xcode store the relative path?
Xcode may not update location for some files of your project when you copy/move it from one environment to another. The easiest way I found is something like this:
1-Select your files like this, if they are in different groups, then repeat the flow on each group separately:
2- Show the file inspector:
3- You may notice Xcode has an absolute path for them, which is something not useful, so click on the little icon near Multiple Values. navigate to the folder where your selected files are stored in the finder and click "Choose".
Also, don't forget to change the Location to Relative to Project. Now you will get something like this:
• Select all the missing files that are in one folder in Finder.
• Change Location to Relative to Group ( that's in the File Inspector View -> Utilities -> Show File Inspector )
• Click the choose file button; it is under the Location drop down menu; it is an image that looks like a very small window with a document inside it.
A Choose folder containing the selected references sheet should appear.
• find and select the folder containing the missing files in the finder, then click Choose
(Tested in In xCode v4.3.2)
I normally keep all my files related to the project inside one folder (nested where necessary) and yeah I frequently exchange project files (zip and move) with my peers and nothing like that has ever happened to me.
You can always just drag the files en masse back onto the XCode window, and they'll get re-added. If you have file-system folders that match your Xcode internal organization that makes it even easier.
The UI has changed. In Xcode 10, there's a tiny dot with an arrow in it next to the file path. This does nothing as far as I can tell.
There's an obscure folder icon offset up and to the right of that non-functional arrow... this actually is a button, and it DOES allow you to relink the file.

Xcode organization in finder?

I have read all the suggested StackOverflow posts on this question. It bothers me that Xcode will not organize my files in the finder the same way it does in the editor view...it will only do that if I copy files in from an external source and specifically tell it how I want things organized. Is there a way to make Xcode have the Finder respect the same organization as a default? I'd love to create a directory and then a file in that directory, and see the changes in both places.
I hate opening a project and seeing ALL my files in one place.
If you want your Groups structure in Xcode to mirror your Directories structure in the file system (which is also the Folders structure in the Finder), you have to take the following steps when adding files that you want to go into Groups/Subdirectories:
Create the folder in the Finder (or the directory from the command line)
Drag that folder into your Xcode project. Import it as a Group. Make sure its reference style is Relative to Enclosing Group, and that you drop it into the Group that represents its parent directory.
To add new files, select the Group and choose Add Files. The files will be stored in the directory that that Group represents, and they will be within that Group in the Xcode UI.
If your files are not yet under SCM control, one thing you can do is just delete them all from the Xcode project, rearrange them on disk however you want, then drag all the folders and files back in, making sure to not make copies, to create groups, and to set the reference style to Relative to Enclosing Group.

Resources