Click here to Skip to main content
15,918,808 members
Articles / Programming Languages / C# 5.0
Tip/Trick

Visual Studio 2015 Productivity Features

Rate me:
Please Sign up or sign in to vote.
4.75/5 (14 votes)
23 Jan 2015CPOL3 min read 46.1K   13   7
Introducing brand new productivity feature that are released with Visual Studio 2015 Preview Version.

Introduction

There are many features have been introduced with new version of Visual studio 2015 Preview version. As a developer I always look for best features that save my time in doing day today activities in Visual studio. I would like to point out only Productivity features in this article.

Perf Tips

I had to spend lot of time finding the root cause for a complex application performance issues. Pert tips of VS 2015 make our life easy.

  • While debugging, processing time and CPU usage time will be shown at the end of the each line.

  • If you add two break points and debug the app, then it shows the time taken to process code between two debug points.

 

  • We can able switch on/off just by clicking on any of these messages or from Tools/Options

Quick Action Light Bulb Icon:

Visual studio has new feature called Quick Action (most of them called as light bulb actions), there are sevaral uses.

  • Syntax Error assistance: This light bulb will be shown when pointer or cursor is at the error line. Upon click of this icon, VS shows the possible fixes for compilation errors, we can preview all possible fixes.

  • Code refactoring suggestions: To refactor a code line like removing unnecessary local variable or removing unused using statements .We can press Ctrl+ period (Right click + Quick Action) to see all possible way of fixing it with nice color differences.

 

Some situation it will be good to split the logic into more than one like to debug and readability, and then we can just click Quick action to split to multiple lines using temp variables.

Also to implement interface

There are much more uses of this Quick action light bulb like code analysis and etc.

Window Layout:

I struggle to maintain the same Windows layout in earlier Visual studio like certain height of Output window, width of Solution explorer and opening server explorer by default. VS 2015 solves this issue by introducing managing Windows Layout under Window Menu

  • Just set open the windows that you want to see all time and set the height and width as you like then click on Save Window Layout, It asks to give a name. Enter the name and save it.
  • Create multiple layout profiles as per your requirements then click on Apply Window Layout for opened instance as you wish.
  • Also we can manage all saved layouts by selecting Manage Layout Menu option.

Simplified Rename Feature:

Renaming a variable or any other c# members has improved a lot with this new version. When you click rename right click menu (F2), then it highlights all variable usages with Green color and it shows a box at the top right corner to select other features.

The changed name will reflect as you type on any highlighted instance. After typing the new name user can select other options like change same variable name in comments and strings.

Improved Break Point Settings:

Break point settings like conditions, actions are now manageable in single peek window by setting icon of break point.

Also there are other features that improves developers productivity

  • Peek windows in XAML binding expressions to view the actual definition of banded ViewModel property and static resources.
  • We can able to debug lambda expressions.
  • Creating shared projects.
  • In Built Diagnostic tools in VS 2015 to diagnose memory, performance and CPU usage while debugging application itself.

http://blogs.msdn.com/b/visualstudioalm/archive/2015/01/16/diagnostic-tools-debugger-window-in-visual-studio-2015.aspx

  • Sending feedback on Visual studio features has simplified by clicking smile icon on right edge.

Please refer the below links to familiar with all new features.

http://www.visualstudio.com/en-us/news/vs2015-preview-vs

http://developer.telerik.com/featured/5-incredible-features-visual-studio-2015-preview/

Points of Interest

We can atleast save 30 min of each day development activity and much more if you have to work for Performance and memory related issues by using new Diagnistic tools. I am very much exited to use new Visual studio 2015 for my production apps also.

 

 

License

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


Written By
Software Developer (Senior)
United States United States
10+ years of building high availability and complex line of business applications using Microsoft.net technologies and AWS cloud expertise.
Exposure to Microsoft Technologies(C#, Asp.Net Core, WPF, ASP.Net MVC, Angular 2,Angular 4, Web API,.Net Core Stack, WCF, Silverlight, Windows Forms, Windows Services, Web Services, Entity Framework, jQuery,ASP.Net, SOAP, Rest Services , NUnit and SQL Server) and Cloud Technologies - AWS S3, SQS, Lambda, EC2, ECS, ELB, Beanstack, RDS, Cloudformation and Terraform.

Comments and Discussions

 
Question"I am very much exited ..."!? Pin
Huh? Come Again?3-Feb-15 22:30
Huh? Come Again?3-Feb-15 22:30 
AnswerRe: "I am very much exited ..."!? Pin
RaviAakula4-Feb-15 17:03
RaviAakula4-Feb-15 17:03 
GeneralMy vote of 5 Pin
Gaston Verelst29-Jan-15 0:30
Gaston Verelst29-Jan-15 0:30 
GeneralMy vote of 1 Pin
sajawalskj27-Jan-15 0:43
sajawalskj27-Jan-15 0:43 
GeneralMy vote of 5 Pin
_Vitor Garcia_26-Jan-15 3:16
_Vitor Garcia_26-Jan-15 3:16 
QuestionNo images Pin
willemvandegraaf23-Jan-15 7:22
willemvandegraaf23-Jan-15 7:22 
QuestionImages not found Pin
Member 864989523-Jan-15 5:28
Member 864989523-Jan-15 5:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.