Search code examples
tfsversion-controlvisual-studio-codeazure-devops

Can't rename files correctly in VSCode with VSTS


I am using the VSTS extension in VSCode. There is supposed to be an option to "Rename (VSTS)" where the extension renames the file in version control instead of locally, but the option is not visible.

Is anyone else using this and has encountered this issue?

Original name

enter image description here

Context menu options:

enter image description here

Renamed

enter image description here

Result in visual studio:

enter image description here


Solution

  • Maybe the file is being used by another program. In my case I was running the server using the root directory.