Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>HTML Attribute Autocomplete in ERBNew to Visual Studio Code? Get it now.
HTML Attribute Autocomplete in ERB

HTML Attribute Autocomplete in ERB

BryDave

|
3,170 installs
| (0) | Free
Adds attribute autocompletion to erb files for things like class="" and id="".
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

This extension adds HTML attribute auto completion and suggestions for erb files. ERB Attribute Autocomplete

It also adds some snippets for quickly creating divs with the class attribute. It will also drop the cursor in the approprite position or in the case of using a snippet, you can quickly tab from the class to the inside of the div.

ERB Div Class Snippet

ERB Div Class Snippet Results

Features

  • When adding a <div> in an erb file, start typing the attribute name and it will auto-complete the attribute with open and closing double quotes.
  • Type "d", "dc", or "<d" to insert <div class=""></div>. You can tab from the class to the inner div content.

Release Notes

Adds the basics:

  • auto complete for attributes
  • a snippet to quickly generate a div

0.0.1

Initial release of the erb attribute autocomplete extension

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft