BootstrapAutocomplete
Sublime Text 4 plugin for Bootstrap class name autocompletion.
Details
Installs
- Total 22K
- Win 18K
- Mac 2K
- Linux 2K
Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 6 | 13 | 13 | 17 | 21 | 17 | 9 | 11 | 17 | 16 | 11 | 27 | 33 | 4 | 6 | 23 | 14 | 13 | 15 | 8 | 6 | 10 | 19 | 16 | 22 | 17 | 14 | 13 | 13 | 12 | 13 | 12 | 10 | 8 | 5 | 13 | 19 | 20 | 17 | 18 | 12 | 7 | 12 | 8 | 17 | 19 |
Mac | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 2 | 1 | 0 | 0 | 3 | 1 | 1 | 2 | 0 | 1 | 0 | 0 | 1 | 4 | 1 | 1 | 1 | 3 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 4 | 0 | 1 |
Linux | 1 | 4 | 1 | 0 | 2 | 3 | 1 | 1 | 2 | 1 | 3 | 0 | 5 | 4 | 2 | 0 | 3 | 0 | 1 | 0 | 2 | 0 | 0 | 2 | 2 | 2 | 3 | 2 | 0 | 1 | 0 | 1 | 5 | 2 | 2 | 1 | 0 | 3 | 1 | 1 | 2 | 1 | 1 | 1 | 2 | 0 |
Readme
- Source
- raw.githubusercontent.com
ST-BootstrapAutocomplete
This Sublime Text 4 plugin means to unify other Bootstrap autocompletion plugins.
- Bootstrap 3 Autocomplete
- Bootstrap 4 Autocomplete
- Bootstrap 4x Autocomplete
- Maybe more implicit ones…
This plugin is designed to support various versions of Bootstrap's autocompletion with ease. At this moment, it supports Bootstrap 2, 3, 4 and 5 (default). If you find a missing class name, an issue or pull request is always welcome.
Installation
This package is available on Package Control by the name of BootstrapAutocomplete.
Global Settings
From the main menu: Preferences
» BootstrapAutocomplete
» Settings
{
// scopes that this plugin should activated
"selectors": [
"text.html string.quoted - meta.path - meta.item-access",
"text.html meta.attribute-with-value.class",
],
// targeted Bootstrap versions (available versions are: "2", "3", "4", "5")
"versions": ["5"],
}
Project Settings
You most likely want to use only a specific version of Bootstrap in a project. In that case, you can specify the version(s) you want to use in your project settings.
From the main menu: Project
» Edit Project
{
"folders":
[
// ...
],
"settings": {
// settings here will override global settings
"BootstrapAutocomplete": {
// use Bootstrap 4 for this project.
"versions": ["4"],
},
},
}
For Plugin Developers
This plugin's autocompletion lists are extracted from
- Official Bootstrap
v2.3.2
- Official Bootstrap
v3.4.1
- Official Bootstrap
v4.6.2
- Official Bootstrap
v5.3.2
with scripts/extract_class_names_auto.sh
.
# setup environment
python -m venv .venv
. .venv/Scripts/activate # if on Windows
. .venv/bin/activate # if not on Windows
python -m pip install -U -r requirements.txt
# extract class names
./scripts/extract_class_names_auto.sh