Edit in peek definition Window!

This is the coolest thing since Spreadable Bacon.  In Visual Studio 2017, you can view a method definition, and edit the code right in a pop up window with the Peek Definition command.  In the screenshot below, I’m actually editing the code right in the pop up window itself.  This will save you a bunch of time by not having to dig down into other folders where your classes or methods are defined, just to make a minor adjustment.





Organize and visualize your using statements better in Visual Studio 2017

In Visual Studio 2017, you can clearly see what using statements you are not… using.    The IDE grays them out for you.  This is a nice touch, as it can get confusing as to what namespaces are actually in use.  Especially after you’ve added some code, refactored, taken some things out.  Those little orphaned using statements that are no longer needed become easy to see.


Want to get rid of them?  No problem.  Just go to Edit > IntelliSense > Organize Usings.  From there you can choose to Remove Unnecessary Usings, Sort Usings, or Remove and Sort usings.

Here’s what it looks like after I’ve removed my unnecessary usings.


Pretty cool huh?  I thought so.  If you choose Sort Usings, it will sort them alphabetically for you.  Here’s the before and after of that