How to find the workspace where the file is checked out in P4v - p4v

I have a file checked out. So, when I tried to check out the file, it says "the file is checked out by another user and cannot checkout multiple versions of it". I tried seeing the "checked out by" tab in P4V and it shows my P4V id.
But the file is not shown in any of pending lists in any of the work spaces I have.
I need to find the workspace where the file is checked out so that I can revert it.

You can hover your mouse over the item showing the blue checkmark in P4V, and it will show you who has it checked out and in what workspace. In this image, the workspace name is in the red box (but I've blurred it because the name is unimportant).

Related

Asterisk beside files in Team Explorer, changes panel

We use AzureDevops. In Team Explorer, the changes area shows the modified files to check in. Some have an asterisk beside them. What does the asterisk mean? I think they are files that have been touched / modified, but are still identical to the ones in the git repository. Is that correct? They are definitely saved, unlike the asterisks on file tabs.
Some have an asterisk beside them. What does the asterisk mean?
Normally the asterisks in changes panel should correspond to the asterisks on file tabs. See:
The asterisk besides Program.cs file change panel means that we've done some changes to Program.cs file in solution explore while we haven't save this change in file system.
Normally if we click the Save All(Ctrl+Shift+S) button, then the asterisks should disappear both on file tabs and in Changes Panel. If that doesn't work well in your current project, save all changes and then restart VS or reload the project to check if the issue goes away.

Show the name of the containing folder in the Eclipse tab of a file

I have the same set of files in N folders, one of them, say, blank.xhtml. The files contain somewhat similar information and it is becoming overwhelming to figure out which file comes from which folder every time I switch between the tabs. When I open one of them to edit and happen to open a file with the same name from another folder I get confused and more often than not end up editing the wrong file: nullifying my hard work. So I am wondering if there is a way to show the name of a containing folder in the tab like this G-06/blank.xhtml or G-07/blank.xhtml. I will be very very thankful to anybody who has pointers to how I can make this happen.
As an addition to the Maroun's answer there is an alternative solution.
It's not exactly what you want (full name in the tab's title), but may be useful sometimes.
In the "Project Explore" view (the same goes to "Navigator" view) click the "Link with Editor" button. That way, whenever you choose some file opened in the editor, it will be automatically selected/highlighted (see the picture) in the "Project Explorer" view.
Here is the picture:
Maybe this will be useful to you too.
If you hover the mouse over the tab containing the file name then a popup appears showing the full path. Not exactly what you wanted, but it should help. (This with Eclipse Neon.3 Release 4.6.3 on a Mac).
Not quite what you're looking for, but ctrl+shft+e will open the switch editor window that shows all the open editors with their filepaths. I use this shortcut for the same reason. I'll have multiple build.gradle files open from multiple projects and this helps pick the correct one

Synchronizing on Egit. Everything is outgoing

I'm using Egit on Eclipse.
I have cloned a project and I have imported it on Eclipse. I haven't done any change yet.
When I do "Pull" or "Fetch from Upstream" it says, as expected, "Nothing to update - everything up to date". However, when I do "Synchronize Workspace", all files appears "Outgoing", this is, marked with the black arrow. Whichever file I open in "Compare Editor" appears with one big difference which covers all the lines.
Just in case, I have checked that I have configured "text file line delimiter" and "text file encoding" in the same way that the creator of the project.
It seems that the problem is solved making "Untrack", "Add to Index" and "Overwrite" successively, but anyways, I feel that is a suspicious behaviour.

Xcode SCM - Need help with checking files back in!

Okay, I have another newbie question. I'm starting to work with a remote code repository, remotehosting.com, and have been given a username, password, and URL. I've been able to successfully associate my project with a remote source code repository, have checked out/pulled down the source files, and have now made a small change to a single file. Here's where my questions start.
1) I can't see anywhere in my GUI where Xcode realizes that I have made a change to a file
2) How do I check my files back in?
I gotta be missing something. The docs I've been reading point to more menu items that I currently see under my SCM menu item. Anybody have any ideas? Thanks in advance for your assistance!!!
File -> Source Control -> Commit, Select the files that you want to commit, add a comment and hit commit button.
This is the flow for xcode 4
In Xcode 3...
The Project window should have a column which displays the SCM status for your files. This can appear both in the "Groups & Files" outline view in the left pane and the file list in the right pane. The icon for the column is a little cylinder shape, a black-and-white version of the yellow cylinder that's shown when you manage repositories. If this column is not displayed, you can right-click on the header of either of those panes to bring up a menu with a list of columns. Select "SCM" from that. The status will display as the same one-letter codes that SVN uses on the command line.
In order to commit files, you can either a) select the particular files, or group you want to commit and use the menu command SCM>Commit Changes..., or b) Select SCM>Commit Entire Project... (which I personally have bound to ⌥-⌘-C in the Xcode key bindings preferences).
Either of these will display a sheet in which you can enter your commit message; the text field in this is very handy in that it accepts the Return key as a newline, rather than passing it to the "Commit" button, but could be confusing the first few times. Press ⌘-Return to activate the button and perform the commit.

Eclipse: How to show user who changed this line in CVS?

Someone once showed me a cool IntelliJ Idea plugin that would show all the user commit information from CVS right there in the Java source editor.
It had a vertical bar on the right of the window and every code block changed/committed by a user was highlighted with different color and mouse-over would show the details about user and version etc.
I am craving for something similar in Eclipse.
Any pointers?
Are you looking for this?
Right-click on a file, choose "Team", "Show annotation" and you'll see who last edited which line of code.
Here is an illustration from the "What's New in Eclipse 3.2" article from onjava.com, which adds:
Hovering over a change block will show the developer name, date, and comments that were entered for that change. It will also highlight other sections of code in the rest of the file that were contributed in the same revision.
(source: onjava.com)