![]() Expand your selection to the scope incrementally, including for multiple cursors.Īdds a keyboard shortcut to add the closing tag for XML and HTML. VS Code has existing support for expanding text selection, but this extension hits a nice sweet spot. You can easily modify any shortcut yourself with Preferences > Keyboard Shortcuts. This means that some VS Code keyboard shortcuts don't work the same after installing the extension (for example, F5 to debug). Currently the extension chooses Sublime Text's shortcuts over VS Code's. Tip: There are some conflicts with VS Code and Sublime Text keyboard shortcuts. This extension ports the most popular keyboard shortcuts from Sublime Text to VS Code. You have memorized the keyboard shortcuts and you won't need to change your muscle memory to move to VS Code. To ease moving from Sublime Text, I recommend using the following extensions: Sublime Text Keymap To make VS Code work more like Sublime Text, use this setting to put snippets at the top: "editor.snippetSuggestions" : "top" Extensions Sublime Text and VS Code order snippets differently in their code completion widgets. Use this setting to enable format on paste: "editor.formatOnPaste" : true Suggestion Ordering ![]() Use the following setting to turn on the minimap: "" : true Format on Pasteįormat on paste is a fantastic feature when moving source code around. VS Code has an excellent minimap, but it requires a setting change. VS Code has several features you can enable to more closely match the coding experience on Sublime Text. Tip: To install all of the extensions mentioned in this blog post, check out this extension pack. In this blog, I'll present some existing VS Code features and suggested extensions to help you if you are coming from Sublime Text. ![]() You can find other extensions to cover almost all of the features you are missing. There is still more work to do (see this GitHub issue), but the gaps are closing fast. We wrote an extension to help alleviate some of the pain I felt (for example, keyboard muscle memory). Naturally, I now like VS Code more, but sometimes I miss things from Sublime Text. It was my go to editor for my first few years of programming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |