Skip to content

Commit 06a18b6

Browse files
committed
✨ Sort the bookmarks in the bookmark search command palette
1 parent 7fddc21 commit 06a18b6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ChangeLog.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Hike ChangeLog
22

3+
## Unreleased
4+
5+
**Released: WiP**
6+
7+
- The bookmark search command palette now sorts the bookmarks.
8+
39
## v0.1.0
410

511
**Released: 2025-02-14**

src/hike/providers/bookmarks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def commands(self) -> CommandHits:
2828
Yields:
2929
The commands for the command palette.
3030
"""
31-
for bookmark in self.bookmarks:
31+
for bookmark in sorted(self.bookmarks):
3232
yield CommandHit(
3333
f"Visit {bookmark.title}",
3434
f"{bookmark.location}",

0 commit comments

Comments
 (0)