Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>HAML Bootstrap Snippets & Class AutocompleteNew to Visual Studio Code? Get it now.
HAML Bootstrap Snippets & Class Autocomplete

HAML Bootstrap Snippets & Class Autocomplete

Wilfison

|
53,412 installs
| (0) | Free
HAML Bootstrap 4,5 Snippets and Class Autocomplete for Vs Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HAML Bootstrap Snippets & Class Autocomplete for VS Code

preview

How to use Snippets

Version Prefix
bootstrap 4.x bs4-
bootstrap 5.x bs5-

Example

bootstrap 5 button

-# bs5-button

%button.btn.btn-primary{type: 'button'}
  My Button

CSS Class completion

Enable/disable CSS class completion in the settings.

{
  "hamlBootstrap.enableCssClassCompletion": true
}

The current bootstrap version is determined by:

  1. The version of the bootstrap package in the node_modules folder.
  2. The version of the bootstrap gem in the Gemfile.lock file.
  3. Latest version of the bootstrap package on CDN.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft