VS2019 (single-clicking a source file)
I recently updated to VS2019 Community Edition after previously using VS2015 (and various earlier versions). As usual, when I load a C++ project into my VS workspace I see a pane at the RHS called Solution Explorer. However, if I click on any source file in the Solution Explorer it automatically opens (previously I used to have to double-click). I must admit, I prefer the older method!! Is there a setting somewhere so I can stop a file from opening if I simply single-click it?
Re: VS2019 (single-clicking a source file)
Near the top of the solution explorer there is a row of icons. Hover over each icon until you find the one with the 'Preview Selected item" tooltip. Click on that icon once to unselect it (it toggles).
Re: VS2019 (single-clicking a source file)
That fixed it Arjay, thanks... :thumb:
Re: VS2019 (single-clicking a source file)
Another irritation (that's slightly related...)
If I had a source file open (with some earlier versions of Visual Studio) I could edit the file outside of the VS editor and then - when I clicked back in the editor, it would pop up a message to say that the file had been edited outside of the VS editor and it'd ask me if I wanted to re-load the edited version. But that doesn't seem to happen any more with VS2019. Or is there some setting somewhere that I need to enable?
Re: VS2019 (single-clicking a source file)
Yes, there is a setting. Probably under options/editor.
Re: VS2019 (single-clicking a source file)
Thanks Arjay - I eventually found it in:- Options->Environment->Documents