Coder Social home page Coder Social logo

vscode-htmltagwrap's Introduction

vscode-htmltagwrap

Build Status

What is it

Wraps your selection in HTML tags. Can wrap an inline selection or a selection of multiple lines.

To use, select a chunk of code and press "Alt + W" ("Option + W" for Mac).

Wrap text in your images

Download it on the Visual Studio Marketplace

How to Use It

Select a block of text or a string of text. Press Alt + W or Option + W for Mac. Type the tag name you want, and it will populate the beginning and end tag automatically.

This extension works best in files that either use tabs or spaces for indentation. It may not work as well with mixed tabs/spaces.

Report Issues

I welcome pull requests. Please report an issue on GitHub if you have trouble.

Updates

0.0.3

  • Spaces and tabs for indentation are now both supported.
    • Special thanks to @gdziadkiewicz for his PR #4, which also introduced tests for development!

Future features being explored

  • #5 Once a user hits spacebar, then the second multi-cursor is lost so the user can write attributes like classes or styles. (Idea courtesy of Ruben Rios)
  • Should we support getSelections() allowing multiple selections to be wrapped?

vscode-htmltagwrap's People

Contributors

bgashler1 avatar gdziadkiewicz avatar chrisdias avatar msftgits avatar

Watchers

Shawn Wildermuth avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.