dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: VS2019 (single-clicking a source file)

  1. #1
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,573

    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

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,178

    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.

  3. #3
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,573

    Re: VS2019 (single-clicking a source file)

    That fixed it Arjay, thanks...
    "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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)