Renaming a file in Visual Studio Solution Explorer results in a random 'jump' to another location in the Solution Explorer tree

Stack Overflow Asked by user14537181 on November 26, 2020

Every time I rename a file in the Visual Studio 2019 (or 2017, for that matter) Solution Explorer, the active item in the Solution Explorer tree jumps to a random location.

If I rename a file in the solution explorer (e.g., select file "ihaveatipo.f90", F2, type new name "ihaveatypo.f90"), as soon as I hit enter to confirm the change then some random collapsing of the Solution Explorer tree occurs and the next highlighted item of the Solution Explorer is also random (sometimes it’s a folder, sometimes it’s a project, sometimes it’s a file).

This is NOT related to the Tools/Options/General/Track Active Item (it is unchecked).

You can imagine how maddening this can be when you have dozens of projects in your solution and a complex folder/tree structure with a very large number of files.

Does anyone know how to address this?

Add your own answers!

Related Questions

Convert Array to string in Java/Groovy

5  Asked on January 26, 2021 by maaz


List of tuples remove duplicates by first index

3  Asked on January 26, 2021 by rankinstudio


Joining based on Sum of amount

1  Asked on January 26, 2021 by rohit-pandey


ARKit and Recording / Replaying Image+Depth with time lapse

0  Asked on January 26, 2021 by bsharer-app-share-books


Recognizing EOF vs newline in getline in C

3  Asked on January 26, 2021 by jan-dunder


How to Find Connected Components in dataset?

0  Asked on January 26, 2021 by mohamed-mohsen


Can’t get responses for intents in dialogflow using custom payloads

0  Asked on January 26, 2021 by luis-ramon-ramirez-rodriguez


How to initialize correctly an array with Array.CreateInstance() method

1  Asked on January 26, 2021 by donmiguelsan


Combine two list of map java 8

1  Asked on January 25, 2021 by jeeppp


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir