Rename labels.
Answered
I created a label on a project. I misspelt the label's name. Is it possible to rename a label? If so how? There's no right-click context menu available to do it so perhaps renaming labels is buried somewhere else in Pycharm.
Thanks. Peter.
Please sign in to leave a comment.
Hi,
Do you mean **File > Rename project** ?
Andrey, I created a label on an existing project using the menu VCS > Local History > Put Label.
The label is created successfully but with my incorrectly typed label name which, for example, let's call it "Versio 1". I'd like to rename it to "Version 1". I couldn't find anything that could rename or let me edit the label and there's no right-click popup menu either. There may be some way of renaming the label which is possibly buried smewhere? Perhaps it's in the registry or, as I suspect, are label names stored in a local cache somewhere or held in a file?
I could create another label immediately after the first incorrect one but is there a better way?
I don't use any source control in my home projects so creating labels lets me put a stamp on the projects before I start doing significant changes. The labels will also let me get an accurate difference between significant editing against the last good code file prior to the label that was created.
Thanks. Peter.
There is no way to rename a label.
> I don't use any source control in my home projects so creating labels lets me put a stamp on the projects before I start doing significant changes
Local History is a useful feature to reset some accidental changes, but it is not designed as a full-featured VCS in the first place. E.g.m local history does not survive major IDE updates as it is based on IDE caches.
Consider using VCS, e.g. git