Skip to main content

10 Visual Studio Shortcuts you should make your habit.

Th Visual Studio is a great Integrated Development Environment (IDE) for millennium software developers and there are many features in it which you might not know. To deliver solutions to your clients fast, you need a way to work faster so, in this article, I am writing about some Visual Studio Shortcuts that could make you very efficient when developing.
The List:

  1. Ctrl+Tab: I love this shortcut, it helps me in navigating through Active Tool Windows and Active files and you can still further navigate with Up arrow, Down arrow keys, etc while holding down the Ctrl Key.
  2. Ctrl+K, C : This shortcut is used for commenting out selected lines of code, you first highlight the lines you want to comment out then you press Ctrl+K and press Key C while still holding Ctrl key.
  3. Ctrl+K, U: Of course it wont be complete if we have a shortcut for commenting out lines without the opposite shortcut. Use this shortcut the same way you use the commenting shortcut.
  4. Ctrl+Shift+F and Ctrl+F: Use this shortcut to search for something within your solution. Experiment to find the difference between Ctrl+Shift+F and Ctrl+F.
  5. Ctrl+Space bar: Use this shortcut to trigger intellisence.
  6. Ctrl+F5: Yeah, this is the most popular one, it starts and lets you test your program in a non-debugging mode.
  7. F5: This is the opposite of Ctrl+F5, it starts and lets you test your program in a debug mode.
  8. Ctrl+Shift+B: Sometimes, you want to build you project without running it, this shortcut helps you in accomplishing that.
  9. Ctrl+Shift+A: With this shortcut, you can add new item to your project.
  10. Shift+Alt+A: Use this shortcut to add existing item to your project.


Come on friends, the list is endless; if we continue writing today we are going to feel up the whole place. As a developer, the task that these shortcuts helps you to accomplish, are the task that you can't do without when developing a solution. If have a shortcut you think should be added to the list, please be very kind to list it in the comment section below, thanks.

Comments

Popular posts from this blog

HOW TO WRITE, COMPILE AND RUN C++ CODE ON LINUX KALI

Developing a C++ Program on Kali Linux Without Installing Additional Software This article is for hackers who want to develop a C++ program on Kali Linux without installing any additional software. Some might say you need to install a separate compiler or extra tools to write and run a simple C++ program on Kali Linux. However, I’ll show you how to do it right out of the box. Pre-installed C++ Compiler in Kali Linux Kali Linux comes with a pre-installed C++ compiler called g++ . We will use this to write and compile a basic "Hello, World!" program. Step 1: Check if g++ is Installed Open your terminal and run the following command: g++ -v If the compiler is installed, you should see version details. If not, you will get an error message. Step 2: Create a C++ File In your terminal, type: nano MyCpp.cpp This will create a C++ file and open it in the Nano editor. Step 3: Write the C++ Code Once Nano opens, enter the following C++ code: #include <...

HOW TO INSTALL BLOGENGINE.NET WITH VISUAL STUDIO.

Yes there are lots of article on the internet that already describes how to do this, but that wont stop me from sharing my own idea on how I got mine rocking with visual studio 2012. Now here is the story, I woke up one morning and discovered I was departing from being a beginner programmer to a programmer who is at least worthy to be called a programmer. So I felt I needed to share my programming experience and the only known way I could do that, was to start blogging, hmmm... Just like you, I didn't like blogger, I needed  to be my own boss. So, I started my own blog project, but wait....  Why was I doing that when there are open source blog projects being developed and maintained by developers who are more "programmatically" experienced than I?. BlogEngine was the one I chose and the installation was a breeze. All I did was go to the site, downloaded the first zip file which is tagged "web", extracted it to my visual studio project directory, opened vi...

How to Check Logs or Journal of a Specific Service on Linux

Monitoring logs is an essential part of system administration. On Linux, logs help diagnose issues and track service behavior. This guide covers various ways to check logs for a specific service. Using journalctl for Systemd Services Most modern Linux distributions use systemd , and logs are stored in the journal. To view logs for a specific service, use: journalctl -u service-name.service Example for Nginx: journalctl -u nginx.service Viewing Real-Time Logs To follow logs in real time, use: journalctl -u service-name.service -f This is similar to tail -f for traditional log files. Checking Logs with a Time Filter To see logs from the last 1 hour: journalctl -u service-name.service --since "1 hour ago" For logs between two timestamps: journalctl -u service-name.service --since "2024-02-01 10:00" --until "2024-02-01 12:00" Using Traditional Log Files Some services log to files in /var/log/ . Check: ls /var/log/ For example, Nginx lo...