-
July 17th, 2019, 05:49 AM
#1
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?
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
July 17th, 2019, 10:55 PM
#2
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).
Last edited by Arjay; July 18th, 2019 at 03:12 PM.
-
July 18th, 2019, 09:13 AM
#3
Re: VS2019 (single-clicking a source file)
That fixed it Arjay, thanks...
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
December 29th, 2020, 06:02 AM
#4
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?
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
December 29th, 2020, 09:24 AM
#5
Re: VS2019 (single-clicking a source file)
Yes, there is a setting. Probably under options/editor.
-
December 29th, 2020, 10:37 AM
#6
Re: VS2019 (single-clicking a source file)
Thanks Arjay - I eventually found it in:- Options->Environment->Documents
"A problem well stated is a problem half solved.” - Charles F. Kettering
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|