+491
-3
lines changedFilter options
+491
-3
lines changed Original file line number Diff line number Diff line change
@@ -742,8 +742,15 @@ above for an example.
742
742
743
743
## Tooling support
744
744
745
+
BootstrapVue provides additional helper files for auto completion in popular IDE editors.
746
+
745
747
### VS Code + Vetur
746
748
747
749
If you are using [VS Code](https://code.visualstudio.com/) as your text editor, BootstrapVue has
748
-
intellisense autocompletion for component attributes available when using the
749
-
[Vetur extension](https://marketplace.visualstudio.com/items?itemName=octref.vetur).
750
+
intellisense autocompletion for component attributes and directives available via the
751
+
`dist/vetur-tags.json` and `dist/vetur-attributes.json` files.
752
+
753
+
### JetBrains WebStorm (and compatible)
754
+
755
+
For [WebStorm](https://www.jetbrains.com/webstorm/) editor (or web-types compatible), BootstrapVue
756
+
provides the file `dist/web-types.json` for component attribute and directive auto-completion.
Original file line number Diff line number Diff line change
@@ -10,9 +10,14 @@
10
10
"sass": "src/index.scss",
11
11
"style": "dist/bootstrap-vue.css",
12
12
"license": "MIT",
13
-
"types": "src/index.d.ts",
14
13
"repository": "bootstrap-vue/bootstrap-vue",
15
14
"homepage": "https://bootstrap-vue.js.org",
15
+
"types": "src/index.d.ts",
16
+
"web-types": "dist/web-types.json",
17
+
"vetur": {
18
+
"tags": "dist/vetur-tags.json",
19
+
"attributes": "dist/vetur-attributes.json"
20
+
},
16
21
"contributors": [
17
22
{
18
23
"name": "Pooya Parsa",
Original file line number Diff line number Diff line change
@@ -84,4 +84,9 @@ cd ..
84
84
echo 'Done.'
85
85
echo ''
86
86
87
+
echo 'Building IDE auto-complete helper files...'
88
+
node -r esm scripts/create-web-types.js || exit 1
89
+
echo 'Done.'
90
+
echo ''
91
+
87
92
echo 'Done building assets.'
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4