I Ctrl+click in Visual Studio all the time, and starting with Visual Studio 2013, I encountered Peek Definition and immediately found I was constantly clicking to “Promote to Document” because the Peek window is just too small for my liking. Visual Studio also opens new tabs in the Preview Tab area, instead of opening it as a normal tab. I personally didn’t like either of these features, so I began the search to turn them off. Peek Definition What is Peek Definition? It’s a small window that opens within your code and allows you to view or edit code in another file without opening a new tab. Here’s what it looks like: I believe Productivity Power Tools is the extension that makes Ctrl+click open a file in Peek Definition, so since many use that extension, I’m sure many (including yourself) set out on this same journey to obliterate this “feature.” In previous versions of Visual Studio, I was used to just Ctrl clicking on a class, and it would open the class’ definition file in a new tab. That’s easy and shows me what I need in a full size window. I get it – Peek Definition allows you to quickly see information about the class without switching tabs, but I so often end up changing or copying something, I just like it to open in its own tab. The Fix You might wade through the settings in Visual Studio. What a mess. I mean, it’s great that you can customize the software in such a fine-tuned way, but my goodness – there is a setting for everything! It was really difficult to find out how to disable Peek Definition. You can turn off Peek Definition by disabling this option: Tools > Options > Productivity Power Tools > General > Control click shows definitions in Peek Yay! But wait… now when I Ctrl+click a class, the file is opening a tab on the right side of Visual Studio, rather than with my other tabs! Introducing the Preview Tab. Preview Tab The Preview Tab allows you to preview a file without actually opening it in the tab well. It’s still opening a tab, just in a different area than the rest of my tabs. It just seemed odd to me, so I wanted it off. The Fix You can turn off use of the Preview Tab feature by disabling this option: Tools > Options > Environment > Tabs and Windows > Allow new files to be opened in the preview tab Now, finally, Visual Studio was back to how I like it: Ctrl+click simply opens the class definition in a new tab just like the rest of my tabs! Your Turn! How about you? Do you use either of these features? Why do you like or dislike them? Let’s discuss in the comments below!
Have you wondered how a pregnancy is covered by Liberty HealthShare? My wife and I just went through the entire experience starting in late 2016, so in this post, I will explain how it works and how it went for us.
Can you use multiple Facebook pixels on one site? The short answer is: yes! This was a frustrating problem! Facebook doesn’t provide any documentation about using more than one pixel on a single site. This is hard to believe, as I imagine many businesses work with multiple digital marketing vendors who provide Facebook ad services. From the looks of the many unanswered questions in Facebook’s help forum about this, it’s obvious many are frustrated along with me.
We joined Liberty Healthshare in November 2016. I blogged at the beginning of the year about what Liberty is, how it works, and why we chose it versus Medishare or CHM. This is my followup to that post describing our experiences since we signed up.
Have you tried to access your Google Analytics data (or other Google data) using ASP.NET? After hours of research, I finally figured out how, and it’s very simple!
After joining Liberty HealthShare last year, I was intrigued by their referral program. If you refer a friend and that friend stays with Liberty for at least 60 days, you get a $100 gift card. That’s a pretty cool reward, but as we all know, the proof is in the pudding.
As of WordPress 4.7.4, when you include a link in a post that opens in a new tab, WordPress will automatically modify the link to include the following rel attribute: <a href="https://www.google.com" target="_blank" rel="noopener noreferrer">Google</a> With the rel attribute set this way, the site you browse to will not receive the Referrer in the header of your request. That means any tracking they are doing, like through Google Analytics, will not display your website as being a referring site. You may depend on external sites seeing your domain in their analytics to prove value or popularity or something, so you may not want this new functionality in 4.7.4.