-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checking out C# form .cs file doesn't check out .Designer.cs and .resx #29
Comments
Actually, it does work if you right click on the file in the Solution Explorer and do if you go to Feels like it'd be nice to fix this. |
Let me know if you decide to look into fixing it. |
I will see if I can fit it in today. |
I didn't fit it in today :( - will try to get this done this week. Looks like |
Got started on this and I realised that the same mechanism is used for all commands, including those which don't really work well with multiple files. My current thinking is that the addin should sort-of do what you want, which is probably along these lines:
"Operate on specific file" means like dte.ActiveDocument.FullName or ProjectItem.FileNames[0]. "Operate on all project items" means all the files mentioned in the ProjectItem's FileNames array, and again for the ProjectItem's immediate children. (Or maybe we should do that fully recursively. Dunno.) I'll get back to this in a day or two. |
Got a bit bogged down trying to actually make this change, but it remains on my to-do list. I don't do all that much C#+Perforce stuff generally, but it happens often enough that it won't get forgotten. |
If you go to check out something whose kind is
GUID_ItemType_PhysicalFile
, how about if P4EditVS checked out everything in itsProjectItems
array (and recursively)? Looks like that would fix this case.Maybe extend this for folders too? Feels like it'd perhaps end up too easy to check out too much.
The text was updated successfully, but these errors were encountered: