Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

Datatip - Get Out of My Way

5.00/5 (2 votes)
22 Jun 2012CPOL 8.6K  
How to remove datatips if you want to view code at the same time
Datatips are useful but can take lot of space especially if you want to view code at the same time. This tip will help you getting around that situation.

Introduction

Datatips is a cool feature in Visual Studio that provides an easy way of viewing local variable information while debugging. However, there are times when you may find this a bit intrusive if your local variables are complex structures that can take quite a bit of space. As a result, it will hide part of your code that you may like to inspect also while viewing the information in Datatips. The following picture depicts that situation.

Image 1

In this situation, you can press and hold Ctrl key, this datatip will hide and you should be able to see all your code. Releasing Ctrl key will bring the data tip back in the same state where you choose to hide it.

I hope you find this tip helpful.

History

  • 22nd June, 2012: Initial version

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)