Skip to content

Commit

Permalink
Merge branch 'projects'
Browse files Browse the repository at this point in the history
  • Loading branch information
robole committed Oct 15, 2023
2 parents cda33eb + 067b99f commit 1bd564c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@ All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.24.2] - 2023-10-16
## [0.25.0] - 2023-10-16

### Changed

- Revert changes of 23.0.
- Published changes made in v24.0.

## [0.24.1] - 2023-10-15
### Fixed

- The variable `has` was not declared properly in *hasScopeField*. Added `let` to it. Unusual that this is not an issue in test.

## [0.24.1 -> 0.24.3] - 2023-10-16

### Changed

- Issue found and requires investigation. Try to revert to v23.
- Rollback changes of v24.0. Issue found and requires further investigation.

## [0.24.0] - 2023-10-15

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"description": "View and edit all your snippets in one purty place. Yee-haw!",
"icon": "img/logo.png",
"version": "0.24.2",
"version": "0.25.0",
"engines": {
"vscode": "^1.4.0",
"node": ">=12.0.0"
Expand Down Expand Up @@ -127,7 +127,6 @@
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.4.0",
"@vscode/vsce": "^2.21.1",
"chai": "^4.2.0",
"css-loader": "^4.2.2",
"eslint": "^7.2.0",
Expand All @@ -144,6 +143,7 @@
"prettier": "^2.0.5",
"terser-webpack-plugin": "^4.1.0",
"typescript": "^3.8.3",
"vsce": "^2.9.1",
"vscode-test": "^1.3.0",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.12"
Expand Down
2 changes: 1 addition & 1 deletion src/snippets-fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class SnippetsFetcher {
}

function hasScopeField(array){
has = false;
let has = false;

const result = array.find(({ scope }) => scope !== undefined && scope !== "" );

Expand Down
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
1. Add formatting of `scope` content to ensure consistent formatting. If no spaces between words values, add one after the comma.
1. Is the `scope` field ever in a snippets file in an extension?
1. Refactor `language` field in *snippet-collection.js*. It only applies to user snippets if I remember correctly.
1. This snippet extension - https://open-vsx.org/extension/hollowtree/vue-snippets - appears to cause an error.
1. This snippet extension - https://open-vsx.org/extension/hollowtree/vue-snippets - appears to cause an error.
1. Refactor Extensions make more comprehensible. Particularly code around extension-related snippets and the view.
1. Show the shortcuts assigned to any snippets (via command 'insert snippet')?

0 comments on commit 1bd564c

Please sign in to comment.