This is especially useful if you want to access it on a remote server without installing a desktop environment. If you are using Visual Studio Code (VS Code) as your editor and want to access it from a remote system then you can follow the below steps to configure your VS Code for remote access. While SSH is great for remote development and access, we developers are spoiled by tools like Docker that allow us to containerize our applications and run them locally using the same environment as production, but without having to set up a virtual machine or installing any other software. I like to keep up with the latest tech but without losing productivity. I work on a Linux machine but most of our projects run on Windows. If you haven’t tried yet, what are you waiting for? Let me show you how to get started.īut before that, let me tell you a bit more about my setup. I have been using this extension for the past few weeks and I have to say I am impressed by its capabilities. If you are working with the latest version of Visual Studio Code (1.27), you might already know about the Remote Development extensions. This can also be accessed with Ctrl G shortcut key inside VSCode editor In case you want to go directly to a specific line number in a file, you can use this command. This can be accessed by pressing ctrl p inside VSCode editor This command lets you quickly open any file in your workspace. In this blog post we will take a look at some useful keyboard shortcuts that make your life easier while working with Visual Studio Code. You can find extensions to add new languages, themes, debuggers, and to connect to additional services. There are extensions for just about anything you may need. When we talk about Visual Studio Code, it’s configurability comes from the vast array of extensions that are available. It is a lightweight editor available for all platforms (Windows, Mac as well as Linux) and can be easily customized using user and workspace settings. Visual Studio Code is one of the most popular editors out there. Today I want to share some useful VS Code shortcuts that can help you to edit code faster. It allows us to be more productive and focus on our work as developers. There are many powerful features in Visual Studio Code and one of the best things about it is the keyboard shortcuts. This will open and close the sidebar which you can see on the left side of the editor in this screenshot: The first keyboard shortcut that I want to mention is CMD B or CTRL B on Windows and Linux. The third keyboard shortcut is related to deleting lines of code, and the fourth one is related to multiple cursors. The first 2 keyboard shortcuts will be related to opening and closing the sidebar. I’m going to focus on 4 useful keyboard shortcuts that I use a lot in my daily workflow. The keyboard shortcuts are platform-independent though. This blog is written from the perspective of a Visual Studio Code user on Linux. If everything goes well you should see “Connect Enter password when prompted and press enter. Select host you want to connect to from list or type it manually (ip address) and press enter.ĥ\. Open command palette Cmd Shift p and type: “Remote-SSH: Connect to Host…”Ĥ\. Now you are ready to use Remote – SSH extension. To solve this problem, I used Remote SSH extension which allows me to work remotely through SSH on any server! And this is what we will do now:ģ\. This may sound strange, but it’s true, especially if you have been developing on Windows for a while. The first thing I missed in VS Code was the ability to use the mouse to select text and scroll the page. I started using VS Code after working on Windows for several years and since then have been using MacOS as my primary operating system. I can share my experience that helped me work with VS Code more efficiently than before. But before that, let me explain to you why I am sharing these shortcuts with you. In this article, I will share with you 4 useful keyboard shortcuts for Visual Studio Code. In this article, we’ll look at four useful keyboard shortcuts for VSCode. The best thing about VSCode is that it’s easily accessible, just like Sublime Text. It’s highly customizable and comes with plenty of themes and extensions to choose from. 4 Useful Keyboard Shortcuts for Visual Studio Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |