Skip to content

Commit e3b3ddd

Browse files
authored
Merge pull request #47 from czfadmin/dev
feat: 增加用户使用`iconify`自定义书签图标
2 parents 3e86758 + 12e2ae3 commit e3b3ddd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2876
-2778
lines changed

CHANGELOG.md

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

3+
## 0.0.37
4+
5+
### Patch Changes
6+
7+
- feat(icons): 新增支持自定义使用`iconify`图标功能以及图标分组功能
8+
- fix(universal): 修复通用书签按钮无法删除问题
9+
- fix(/): 修复开关使用内置颜色设置时无法切换书签装饰器样式问题
10+
- chore(/): 调整渲染图标内容更新时机
11+
312
## 0.0.36
413

514
### Patch Changes

README-ZN.md

Lines changed: 86 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,111 @@
11
# Bookmark Manager
22

3-
- [英文](./README.md)
3+
![GitHub Release Date](https://img.shields.io/github/release-date/czfadmin/bookmarks?logo=github)
4+
![GitHub last commit](https://img.shields.io/github/last-commit/czfadmin/bookmarks?logo=github)
5+
![Visual Studio Marketplace Last Updated](https://img.shields.io/visual-studio-marketplace/last-updated/czfadmin.bookmark-manager?logo=visualstudiocode&logoColor=blue)
46

5-
## 功能
7+
- [中文](./README-ZN.md)
68

7-
- 单行书签切换
8-
- 选中内容设置标签
9-
- 自定义书签样式以及文本装饰器颜色
10-
- 书签管理视图
11-
- 快速跳转预览书签
12-
- 自定义书签备注
13-
- 分组自定义
9+
## Features
1410

15-
### 预览
11+
- Toggle line bookmark
12+
- Toggle bookmark with selection
13+
- Customize bookmark style and text decorator color
14+
- Bookmark management view
15+
- Quickly jump to preview bookmarks
16+
- Customized bookmark notes
17+
- Group customization
18+
- Customize icons using [iconify](https://iconify.design/) 🎉
1619

17-
- 总览
20+
### Preview
21+
22+
- Overview
1823

1924
![overview](resources/overview.gif)
2025

21-
- 管理视图
26+
- Sidebar bookmark management
27+
28+
![tree-view](images/badge.png)
2229

23-
![tree-view](images/tree-view.png)
30+
- Various colors available
2431

25-
- 可选多种颜色
32+
![various-colors](images/colors.png)
2633

27-
![various-colors](resources/various-colors.png)
34+
![choose color](images/choose-color.png)
2835

29-
- 悬浮时显示书签详情
36+
- The floating prompt displays bookmark information
3037

31-
![float-prompt](images/float-prompt.png)
38+
![float-prompt](images/prompt.png)
3239

33-
- 文件预览
40+
- Display an overview list of bookmarks
3441

3542
![file-overview](images/file-overview.png)
3643

37-
- 分组自定义
38-
39-
![Group customization](resources/group-customization.png)
40-
41-
## 插件配置
42-
43-
- `bookmark-manager.alwaysUseDefaultColor`:始终使用默认颜色来装饰书签图标。
44-
- `bookmark-manager.showGutterInOverviewRuler`: 是否在概览标尺上显示 `Gutter` 图标。
45-
- `bookmark-manager.showTextDecoration`: 设置是否显示书签的文本装饰器。
46-
- `bookmark-manager.showGutterIcon`: 是否显示`gutter`图标。
47-
- `bookmark-manager.fontWeight`:书签字体样式。
48-
- `bookmark-manager.colors`:内置颜色和用户定义的书签颜色。
49-
- `bookmark-manager.defaultBookmarkIconColor`:设置默认书签颜色。
50-
- `bookmark-manager.showBorder`: 是否显示边框。
51-
- `bookmark-manager.border`:书签边框样式。
52-
- `bookmark-manager.showOutline`: 是否显示书签的轮廓。
53-
- `bookmark-manager.outline`:书签大纲样式。
54-
- `bookmark-manager.wholeLine`: 是否选择整行,默认选择有内容的区域。
55-
- `bookmark-manager.textDecorationLine`:自定义书签的装饰器风格。
56-
- `bookmark-manager.textDecorationStyle`:自定义书签的装饰器风格。
57-
- `bookmark-manager.outlitextDecorationThicknessne`:自定义装饰的厚度。
58-
- `bookmark-manager.lineBlame`:为书签启用 `lineBlame`
59-
- `bookmark-manager.enableClick`:启用点击跳转到书签位置。
44+
- Group customization
45+
46+
![Group customization](images/group.png)
47+
48+
- Menus
49+
50+
![menu](images/menus.png)
51+
52+
- Customize icons using [iconify](https://iconify.design/) 🎉
53+
54+
![icons](images/icons.png)
55+
56+
## Configuration
57+
58+
- `bookmark-manager.alwaysUseDefaultColor`: Always use the default color to decorate the bookmark icon.
59+
- `bookmark-manager.showGutterInOverviewRuler`: Whether to display the `Gutter` icon on the overview ruler.
60+
- `bookmark-manager.showTextDecoration`: Set whether to display the bookmark's text decorator.
61+
- `bookmark-manager.showGutterIcon`: Whether to display the `gutter` icon.
62+
- `bookmark-manager.fontWeight`: Bookmark font style.
63+
- `bookmark-manager.colors`: built-in colors and user-defined bookmark colors.
64+
- `bookmark-manager.defaultBookmarkIconColor`: Set the default bookmark color.
65+
- `bookmark-manager.showBorder`: whether to display the border.
66+
- `bookmark-manager.border`: Bookmark border style.
67+
- `bookmark-manager.showOutline`: whether to display the outline of the bookmark.
68+
- `bookmark-manager.outline`: bookmark outline style.
69+
- `bookmark-manager.wholeLine`: Whether to select the entire line, by default the area with content is selected.
70+
- `bookmark-manager.textDecorationLine`: Customize the decorator style of bookmarks.
71+
- `bookmark-manager.textDecorationStyle`: Customize the decorator style of bookmarks.
72+
- `bookmark-manager.outlitextDecorationThicknessne`: Customize the thickness of the decoration.
73+
- `bookmark-manager.lineBlame`: Enable `lineBlame` for bookmarks.
74+
- `bookmark-manager.enableClick`: Enable click to jump to bookmark location.
75+
- ......
76+
77+
### Commands
78+
79+
- `bookmark-manager.toggleLineBookmark`: Toggle line bookmark.
80+
- `bookmark-manager.toggleLineBookmarkWithLabel`: Toggle line bookmark with label.
81+
- `bookmark-manager.toggleLineBookmarkWithColor`: Toggle line bookmark with color.
82+
- `bookmark-manager.toggleBookmarkWithSelection`: Toggle Bookmark with selection.
83+
- `bookmark-manager.editDescription`: Editing the description of a bookmark.
84+
- `bookmark-manager.clearAllBookmarksInCurrentFile`: Clear all bookmark in opened file.
85+
- `bookmark-manager.changeBookmarkColor`: Change the color of the selected bookmark.
86+
- `bookmark-manager.clearAllBookmarks`: Clear all bookmarks.
87+
- `bookmark-manager.deleteBookmark`: Delete selected bookmark.
88+
- `bookmark-manager.editLabel`: Edit the label of the selected bookmark.
89+
- `bookmark-manager.gotoSourceLocation`: Jump to the location of the bookmark.
90+
- `bookmark-manager.quickJumpTo`: Quick jump.
91+
- `bookmark-manager.openInEditor`: Open in editor. **WIP**
92+
- `bookmark-manager.listBookmarksInCurrentFile`: List bookmarks in current file.
6093
- ....
6194

62-
## 命令
95+
## Attention
6396

64-
- `bookmark-manager.toggleLineBookmark`:切换行书签。
65-
- `bookmark-manager.toggleLineBookmarkWithLabel`:使用标签切换行书签。
66-
- `bookmark-manager.toggleLineBookmarkWithColor`:用颜色切换行书签。
67-
- `bookmark-manager.toggleBookmarkWithSelection`:切换书签与选择。
68-
- `bookmark-manager.editDescription`:编辑书签的描述。
69-
- `bookmark-manager.clearAllBookmarksInCurrentFile`:清除打开文件中的所有书签。
70-
- `bookmark-manager.changeBookmarkColor`:更改所选书签的颜色。
71-
- `bookmark-manager.clearAllBookmarks`:清除所有书签。
72-
- `bookmark-manager.deleteBookmark`:删除选定的书签。
73-
- `bookmark-manager.editLabel`:编辑所选书签的标签。
74-
- `bookmark-manager.gotoSourceLocation`:跳转到书签的位置。
75-
- `bookmark-manager.quickJumpTo`:快速跳转。
76-
- `bookmark-manager.openInEditor`:在编辑器中打开。 **WIP**
77-
- `bookmark-manager.listBookmarksInCurrentFile`:列出当前文件中的书签。
78-
- ...
97+
- After adding a bookmark to a line or selected area, if `bookmark-manager.showGutterIcon` is turned on, you will not be able to set a breakpoint directly. However, you can create one by right-clicking on the line number. For more details [VSCode issus# 5923](https://github.com/Microsoft/vscode/issues/5923)
98+
- ⚒️ Note that there is currently a problem of abnormal bookmark information when the code is refactored.
7999

80-
## 注意
100+
**Enjoy!**
81101

82-
- 当在对行或者选择的区域添加书签后,如果开启了 `bookmark-manager.showGutterIcon`, 会出现无法直接设置断点的情况, 不过可以通过使用右键行号进行创建, 更多详情[VSCode issus#5923](https://github.com/Microsoft/vscode/issues/5923)
102+
## Contributors
83103

84-
- ⚒️注意,目前代码重构时存在书签信息异常的问题。
104+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
105+
<!-- prettier-ignore-start -->
106+
<!-- markdownlint-disable -->
107+
[![All Contributors](https://img.shields.io/github/all-contributors/czfadmin/bookmarks?color=ee8449&style=flat-square)](#contributors)
108+
<!-- markdownlint-restore -->
109+
<!-- prettier-ignore-end -->
85110

86-
**Enjoy!**
111+
<!-- ALL-CONTRIBUTORS-LIST:END -->

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Quickly jump to preview bookmarks
1616
- Customized bookmark notes
1717
- Group customization
18+
- Customize icons using [iconify](https://iconify.design/) 🎉
1819

1920
### Preview
2021

@@ -24,23 +25,33 @@
2425

2526
- Sidebar bookmark management
2627

27-
![tree-view](images/tree-view.png)
28+
![tree-view](images/badge.png)
2829

2930
- Various colors available
3031

31-
![various-colors](resources/various-colors.png)
32+
![various-colors](images/colors.png)
33+
34+
![choose color](images/choose-color.png)
3235

3336
- The floating prompt displays bookmark information
3437

35-
![float-prompt](images/float-prompt.png)
38+
![float-prompt](images/prompt.png)
3639

3740
- Display an overview list of bookmarks
3841

3942
![file-overview](images/file-overview.png)
4043

4144
- Group customization
4245

43-
![Group customization](resources/group-customization.png)
46+
![Group customization](images/group.png)
47+
48+
- Menus
49+
50+
![menu](images/menus.png)
51+
52+
- Customize icons using [iconify](https://iconify.design/) 🎉
53+
54+
![icons](images/icons.png)
4455

4556
## Configuration
4657

images/badge.png

279 KB
Loading

images/choose-color.png

217 KB
Loading

images/color-sorting.png

259 KB
Loading

images/colors.png

248 KB
Loading

images/float-prompt.png

-112 KB
Binary file not shown.

images/group.png

262 KB
Loading

images/iconify.png

156 KB
Loading

0 commit comments

Comments
 (0)