Skip to content

Commit 509ee40

Browse files
committed
fix note sorting
1 parent d837635 commit 509ee40

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 0.3.0
4+
5+
- Improve the view of imported notes.
6+
- Fix note explorer sorting.
7+
38
## 0.2.9
49

510
- Improved exclusion wizard.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "code-auditor",
33
"displayName": "CodeAuditor",
44
"description": "Code Auditor Notebook",
5-
"version": "0.2.9",
5+
"version": "0.3.0",
66
"publisher": "red4sec",
77
"icon": "resources/code-auditor.png",
88
"readme": "README.md",

src/noteexplorer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export class noteProvider implements vscode.TreeDataProvider<noteNode> {
6363
)
6464
);
6565
}
66+
nodes.sort((a, b) => { return a.sourcePath.localeCompare(b.sourcePath); });
6667
return nodes;
6768
}
6869

0 commit comments

Comments
 (0)