You can even do this from Project Explorer or Navigator. Right-click the source you want to mark → Command → Tag as version.

As soon as you click "Tag as Version", a new window will appear, as shown below. Add the tag name you want and click OK.

You can check the tag name by right-clicking on the resource -> Command -> Show History

source share