<commit_before>---
layout: post
title: Visual Studio Productivity tips
---

### 1 - Keep Track of your active files inside Solution Explorer Automatically

- Navigate To Tools -> Options -> Projects and Solutions -> General -> **”Track Active Item in Solution Explorer”**

### 2 - Run To Cursor

-  As a colleague [GT] showed me abuse of debugger is not healthy. But sometimes could be useful, for this cases you could use "Run To Cursor" `Ctrl + F10` instead put breackpoint every time you want to stop in a line.

### 3 - Place "Reusable Code" into the Toolbox

- This seems like Copy-Paste-Pattern. Yes, but could be useful to use not business code, or templates among differents solutions. For instance: Test Classes Templates, sometimes is a waste of time put the same structure for each new test file.

### 4 Find Clone Codes in Solution
- How haven't I realize of this tool before? Just select a piece of code > Right Click > "Find Clone Codes in Solution", and voilà. You 'll see possible code clones grouped by "Clonality Weight".

---
References:

http://dailydotnettips.com/2016/01/04/10-visual-studio-tips-to-improve-your-development-productivity/<commit_msg>Own Layouts added<commit_after>---
layout: post
title: Visual Studio Productivity tips
---

### 1 - Keep Track of your active files inside Solution Explorer Automatically

- Navigate To Tools -> Options -> Projects and Solutions -> General -> **”Track Active Item in Solution Explorer”**

### 2 - Run To Cursor

-  As a colleague [GT] showed me abuse of debugger is not healthy. But sometimes could be useful, for this cases you could use "Run To Cursor" `Ctrl + F10` instead put breackpoint every time you want to stop in a line.

### 3 - Place "Reusable Code" into the Toolbox

- This seems like Copy-Paste-Pattern. Yes, but could be useful to use not business code, or templates among differents solutions. For instance: Test Classes Templates, sometimes is a waste of time put the same structure for each new test file.

### 4 - Find Clone Codes in Solution

- How haven't I realize of this tool before? Just select a piece of code > Right Click > "Find Clone Codes in Solution", and voilà. You 'll see possible code clones grouped by "Clonality Weight".

### 5 - Create your own Layouts

- You can just save your layouts and invoque one when you want.

---
References:

http://dailydotnettips.com/2016/01/04/10-visual-studio-tips-to-improve-your-development-productivity/
{'fraction_non_alphanumeric': 0.08295872496935022, 'fraction_numerical': 0.013485901103391908, 'mean_word_length': 3.828402366863905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3309291', 'n_tokens_mistral': 710, 'n_tokens_neox': 652, 'n_words': 346}