BootstrapAutocomplete
Sublime Text 4 plugin for Bootstrap class name autocompletion.
Details
Installs
- Total 17K
- Win 14K
- Mac 1K
- Linux 2K
Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 8 | 12 | 13 | 22 | 16 | 19 | 17 | 12 | 11 | 19 | 15 | 21 | 21 | 17 | 12 | 16 | 18 | 24 | 24 | 17 | 19 | 17 | 20 | 23 | 24 | 19 | 18 | 19 | 9 | 5 | 13 | 8 | 10 | 14 | 12 | 12 | 12 | 13 | 10 | 11 | 13 | 30 | 13 | 15 | 13 | 15 |
Mac | 0 | 0 | 2 | 0 | 1 | 0 | 4 | 3 | 2 | 1 | 2 | 2 | 2 | 0 | 0 | 1 | 3 | 0 | 0 | 0 | 1 | 2 | 2 | 1 | 0 | 3 | 1 | 1 | 1 | 0 | 2 | 1 | 0 | 1 | 1 | 2 | 1 | 0 | 3 | 1 | 2 | 1 | 0 | 1 | 0 | 0 |
Linux | 1 | 2 | 3 | 0 | 2 | 4 | 1 | 2 | 5 | 1 | 3 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 3 | 2 | 1 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 5 | 4 | 1 | 4 | 4 | 1 | 7 | 2 | 2 | 2 | 2 | 1 | 5 | 2 | 2 | 2 |
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 (default) and 5. 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",
"text.html meta.attribute-with-value.class",
],
// targeted Bootstrap versions (available versions are: "2", "3", "4", "5")
"versions": ["4"],
}
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 5 for this project.
"versions": ["5"],
},
},
}
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.2.2
with scripts/extract_class_names_auto.sh
.
# setup environment
python -m venv .venv
source .venv/Scripts/activate # if on Windows
source .venv/bin/activate # if not on Windows
python -m pip install -U -r requirements.txt
# extract class names
bash "scripts/extract_class_names_auto.sh"