Whatever you think of it, the autocomplete AI is worth integrating into your workflow. Some would call GitHub Copilot a revolution in computer programming, others would call it a useful tool. GitHub Copilot AI is here to do the work for you You can set it up so it formats your code every time you save it, significantly reducing the amount of time you need to spend formatting your code. Prettier is an opinionated code formatter that works particularly well if you have multiple people working on a single project, because the extension enforces a consistent style. Prettier Spend less time formatting your code You also don’t need any source code on your local machine, because the extension runs commands and other extensions directly on the remote machine. This makes it much easier to develop and/or troubleshoot in a wide variety of scenarios. The Remote - SSH extension lets you use any remote machine with an SSH server as your development environment. Remote - SSH Use any remote machine with an SSH server You'll be much faster at spotting errors and it's much easier to do some quick experiments with your code. Live Server launches a local development server with a live reload feature both for static and dynamic pages.Įvery time you save your code, you'll instantly see the changes reflected in the browser. This is the favorite VSCode extension of many software developers. Live Server Immediately see code changes reflected in the browser This way, you'll have access to your preferred IDE from whichever device you want, instead of having to program from a vanilla VSCode environment on new devices or having to manually set up everything again. It allows you to sync to GitHub almost everything you customize on VSCode, from settings to keyboard shortcuts to other VSCode extensions. Settings Sync Settings Sync saves you a lot of time installing extensions across devicesīefore you start installing extensions left and right, it's good to know of the existence of Settings Sync. Here are the VSCode extensions we'll cover: These extensions mostly apply to web developers, but there are some general-purpose extensions that will benefit everyone else too. Considering Visual Studio Code is the most popular IDE, here are 20 VSCode extensions that will make you a more productive developer. Visual Studio Shortcuts: Comment Selection / Uncom.Extensions to your IDE are invaluable to speed up your work without reducing the quality of your output.This might lead you to believe that Ctrl+K is the old way of doing things and we should use Ctrl+E.īut in Visual Studio Code, the comment/uncomment functions are bound to " Ctrl+K" (from Visual Studio Code Key Bindings): You'll notice that the menu items in Visual Studio all have " Ctrl+E". In addition "Ctrl+K" starts off "insert snippet" or " Surround With", so that's less for me to try to remember. I'm used to using " Ctrl+K" to start off the shortcuts (whether formatting documents or commenting/uncommenting), so that's my current habit. Currently, both keybindings work (again with the default C# settings). You may have noticed that in this and the previous article about Format Document, we have the option of using " Ctrl+K" or " Ctrl+E" to start off the command. Otherwise, we'll end up commenting out an opening or closing tag, and we'll be left with an unbalanced comment. If the delimited comments span multiple lines, then we want to make sure to include the entire delimited comment in the selection. One thing to watch out for is when using the delimited-comment notation ( /* */ ) in our code. This means that if you then uncomment the same block, you will end up with the original code (including the original single-line comments). If a line already has a single-line comment, then the comment notations will be doubled-up. This means that it will work in most situations. As you can see, this uses the single-line comment notation (the //).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |