[Feedback] Move type to new file creates two files one with `1` suffix.
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
[Link to AzDO feedback work item](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2533225).
[Link to Developer Community feedback item](https://developercommunity.visualstudio.com/t/Move-type-to-new-file-creates-two-files-/10941330).
When I click on 'Move type to new file" I get two files created instead of just one.
The second file will have the same name as the first one but with a suffix of 1 before the extension.
I’ve seen this issue has been reported many times before, and it’s a problem I’ve been seeing for more than a year.
Last time I reported it, it was closed because it couldn’t be reproduced.
This time I’ve added the logs as I was able to get an instance that was repeating the problem every time.
Please do some investigation and reading of these logs, and if nothing is found or there’s not enough information I would suggest improving your logging to try and detect when more than one file gets created.
This is likely a race condition, so it’s not going to be straightforward to reproduce and requires analysis of the code to figure out the problem.
To find diagnostic information, see the [original linked feedback ticket](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2533225).
Contributor guide
Assessment
This issue has not been assessed yet.