Skip to content

feat: Use double quotes in vue file snippets #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to the "vue3-vscode-snippets" extension will be documented in this file.

## v0.4.2

[compare changes](https://github.com/ExEr7um/vue3-vscode-snippets/compare/v0.4.1...HenBK:vue3-vscode-snippets:main)


### Features

- Update snippets to use double quotes for setting the value of the `lang` property in the `<script>` ([#50](https://github.com/ExEr7um/vue3-vscode-snippets/pull/50))

### ❤️ Contributors

- Henrique Kubenda ([@HenBK](https://github.com/HenBK))

## v0.4.1

[compare changes](https://github.com/ExEr7um/vue3-vscode-snippets/compare/v0.4.0...v0.4.1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Vue 3 VS Code Snippets",
"description": "Vue 3 snippets for VS Code",
"icon": "images/vue-logo.png",
"version": "0.4.1",
"version": "0.4.2",
"publisher": "exer7um",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions snippets/histoire/histoire.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Histoire story base": {
"prefix": "hbase",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -17,7 +17,7 @@
"Histoire story base with variant": {
"prefix": "hbase-variant",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -34,7 +34,7 @@
"Histoire story base with grid layout": {
"prefix": "hbase-grid",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand Down
14 changes: 7 additions & 7 deletions snippets/vue/vue.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Vue SFC <script setup>, TS, SCSS": {
"prefix": "vbase",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -21,7 +21,7 @@
"Vue SFC <script setup>, TS, SASS": {
"prefix": "vbase-sass",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -40,7 +40,7 @@
"Vue SFC <script setup>, TS, LESS": {
"prefix": "vbase-less",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -59,7 +59,7 @@
"Vue SFC <script setup>, TS, PostCSS": {
"prefix": "vbase-pcss",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -78,7 +78,7 @@
"Vue SFC <script setup>, TS, CSS": {
"prefix": "vbase-css",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -97,7 +97,7 @@
"Vue SFC <script setup>, TS, Stylus": {
"prefix": "vbase-styl",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand All @@ -116,7 +116,7 @@
"Vue SFC <script setup>, TS, No Style": {
"prefix": "vbase-ns",
"body": [
"<script setup lang='ts'>",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
Expand Down