html-wrapper- READMEWelcome to the README for your "html-wrapper-" extension! This document provides information about the features, requirements, installation instructions, and more for your extension. FeaturesThis extension allows you to wrap your HTML code in a Requirementsrecomended to use with the prettier extension Extension Settingsadd this in your keybindings.json [ { "key": "ctrl+1", "command": "html-wrapper-.wrapper", "when": "editorTextFocus" } ] Known Issuesyou can only wrap an element with a div tag (we will add more support for other tags soon) Release Notesyou can wrap selected element in a div tag you dont have to search for the ending tag. 0.0.1
0.0.1
InstallationOpen Visual Studio Code. Go to the "View" menu, and select "Command Palette" (or use the shortcut Ctrl+Shift+P or Cmd+Shift+P on macOS). Type "Preferences: Open Keyboard Shortcuts (JSON)" and select it from the dropdown. This will open the keybindings.json file in JSON format. In the keybindings.json file, you can add your custom key bindings using the following format: [ { "key": "ctrl+1", "command": "html-wrapper-.wrapper", "when": "editorTextFocus" } ] Enjoy! |