Skip to content

Commit

Permalink
Sorted Notes in AllNotes to logically group them.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperclaw79 committed Jun 13, 2022
1 parent e99d94e commit 4e0cc53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ All notable changes to the "VSSticky" extension will be documented in this file.
## v1.0.0

- Initial release

## v1.0.1

- Sorted Notes in the `All Notes View` according to the path to logically group the notes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Attach Sticky Notes on your files, from inside VS Code.",
"author": "Hyperclaw79",
"publisher": "Hyperclaw79",
"version": "1.0.0",
"version": "1.0.1",
"icon": "assets/vssticky.png",
"galleryBanner": {
"color": "#770000",
Expand Down
2 changes: 1 addition & 1 deletion src/AllNotesProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class AllNotesProvider implements vscode.WebviewViewProvider {
}

private _createNotes() {
this._notes = this._context.globalState.keys().map(key => {
this._notes = [...this._context.globalState.keys()].sort().map(key => {
let noteObj: Note = JSON.parse(
this._context.globalState.get(key)!
);
Expand Down

0 comments on commit 4e0cc53

Please sign in to comment.