Skip to content

Commit

Permalink
[1.4.0] new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrnperl committed Mar 24, 2024
1 parent 3eef534 commit f812c79
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 19 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,20 @@ typo
#### Fix

- Overlap items when the height of the outline is not enough #50
- Other minor fixes
- Other minor fixes

### [1.4.0] - 2024-03-24

#### Add

- Add find References when goto tag #59 @howin98
- Provide outline sorting feature #54
- Expand to the symbol under the cursor

### Fix

- Now the outline will not scroll automatically when in the `manual` follow mode #53

#### Other

- Collapse pin state switch actions for less buttons in navigation bar
49 changes: 43 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ A visual, interactive outline map that combines the clarity of the outline with
![version](https://img.shields.io/visual-studio-marketplace/v/gerrnperl.outline-map?color=8bf7c7&logo=visualstudio&style=flat-square)
![installs](https://img.shields.io/visual-studio-marketplace/i/gerrnperl.outline-map?color=56b6c2&logo=visualstudiocode&style=flat-square)
![rating](https://img.shields.io/visual-studio-marketplace/stars/gerrnperl.outline-map?color=97dbf3&style=flat-square)
![downloads](https://img.shields.io/visual-studio-marketplace/d/gerrnperl.outline-map?color=62abf5&logo=visualstudiocode&style=flat-square)
![stars](https://img.shields.io/github/stars/gerrnperl/outline-map?color=f2c661&logo=github&style=flat-square)
![license](https://img.shields.io/github/license/gerrnperl/outline-map?color=f9e2ae&logo=github&style=flat-square)


## Features
Expand Down Expand Up @@ -103,6 +106,8 @@ By default, region and tag symbols will be added. You can customize the symbols

- `outline-map.follow`: Scroll the outline when the cursor moves or the viewport scrolls

- `outline-map.expand`: Set the automatic expansion mode of the outline view. Select `cursor` to expand only to the node where the cursor is located, and `viewport` to expand all nodes in the viewport.

- `outline-map.hiddenItem`: Choose items you do not want to see in the outline.

- `outline-map.defaultMaxDepth`: Set the default maximum depth of the outline tree. Set this to non-zero to enable the depth button `>` & `<`.
Expand All @@ -124,20 +129,52 @@ By default, region and tag symbols will be added. You can customize the symbols
- `outline-map.region.highlight`: Enable region and tag syntax highlighting

## Commands
- `outline-map.toggleSearch`: Switch the visibility of search and navigation field. Default keybinding: `<Alt-l>`

- `outline-map.addDepth` | `outline-map.reduceDepth`: Add / Reduce a level to the outline tree. Only works when `outline-map.defaultMaxDepth` is set to non-zero.

<!-- - `outline-map.focusSearch`: 聚焦搜索框, 默认键位 `<Alt-l>`
- `outline-map.toggleSearch`: 切换搜索及导航区域可见性.
### 视图操作
- 深度限制: 增加 / 减少大纲的一级. `outline-map.defaultMaxDepth` 为正值时可用.
- `增加深度 >`
- `减少深度 <`
- 临时固定
- `固定`: 大纲节点将不会自动展开;
- `冻结`: 大纲节点将不会自动展开, 同时大纲视图不会自动滚动;
- 排序
- `按位置排序`: 按位置排序大纲节点;
- `按名称排序`: 按名称排序大纲节点;
- `按类型排序`: 按类型排序大纲节点; -->

- `outline-map.pin` | `outline-map.unpin` | `outline-map.freeze` : Pin / Unpin / Freeze the outline tree.
- `outline-map.focusSearch`: Focus the search box, default keybinding `<Alt-l>`
- `outline-map.toggleSearch`: Toggle the visibility of the search and navigation area.

### View Actions

- Depth limit: Increase / decrease the outline by one level. Available when `outline-map.defaultMaxDepth` is a positive value.
- `Increase depth >`
- `Decrease depth <`

- Temporarily fix
- `Fixed`: The outline node will not be automatically expanded;
- `Frozen`: The outline node will not be automatically expanded, and the outline view will not automatically scroll;

- Sort
- `Sort by position`: Sort the outline nodes by position;
- `Sort by name`: Sort the outline nodes by name;
- `Sort by kind`: Sort the outline nodes by kind;

---

## Suggestion: move view to secondary side panel (vscode ^1.64)
Suggestion: move view to secondary side panel (vscode ^1.64)

> Outline Map relies on vscode or other extensions to provide symbol information
> Outline Map does not perform language-specific symbol parsing, symbol information is provided by vscode or other extensions.
>
> Refer to the following links for more information: [vscode-code-outline/ language-support](https://github.com/patrys/vscode-code-outline#language-support)
---

**Enjoy!**
**Enjoy! ❤️**
37 changes: 26 additions & 11 deletions README_ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

可视, 可互动的大纲地图, 提供大纲的清晰条理与缩略地图的直观概览. 更好的 VSCode 内置大纲.

![version](https://img.shields.io/visual-studio-marketplace/v/gerrnperl.outline-map?color=8bf7c7&logo=visualstudio&style=flat-square)
![version](https://img.shields.io/visual-studio-marketplace/v/gerrnperl.outline-map?color=8bf7c7&logo=visualstudiocode&style=flat-square)
![installs](https://img.shields.io/visual-studio-marketplace/i/gerrnperl.outline-map?color=56b6c2&logo=visualstudiocode&style=flat-square)
![rating](https://img.shields.io/visual-studio-marketplace/stars/gerrnperl.outline-map?color=97dbf3&style=flat-square)
![downloads](https://img.shields.io/visual-studio-marketplace/d/gerrnperl.outline-map?color=62abf5&logo=visualstudiocode&style=flat-square)
![stars](https://img.shields.io/github/stars/gerrnperl/outline-map?color=f2c661&logo=github&style=flat-square)
![license](https://img.shields.io/github/license/gerrnperl/outline-map?color=f9e2ae&logo=github&style=flat-square)

## 特性

Expand Down Expand Up @@ -100,7 +103,9 @@

### 行为

- `outline-map.follow`: 设置大纲视图自动跟随光标|视口
- `outline-map.follow`: 设置大纲视图自动跟随光标|视口滚动

- `outline-map.expand`: 设置大纲视图自动展开模式,选择`cursor`时只展开到光标所在的节点,选择`viewport`时展开视口内的所有节点

- `outline-map.hiddenItem`: 选择隐藏大纲视图中的项目

Expand All @@ -125,21 +130,31 @@

## 命令

- `outline-map.toggleSearch`: 切换搜索及导航区域可见性. 默认键位 `<Alt-l>`
- `outline-map.focusSearch`: 聚焦搜索框, 默认键位 `<Alt-l>`
- `outline-map.toggleSearch`: 切换搜索及导航区域可见性.

### 视图操作

- 深度限制: 增加 / 减少大纲的一级. `outline-map.defaultMaxDepth` 为正值时可用.
- `增加深度 >`
- `减少深度 <`

- 临时固定
- `固定`: 大纲节点将不会自动展开;
- `冻结`: 大纲节点将不会自动展开, 同时大纲视图不会自动滚动;

- `outline-map.addDepth` | `outline-map.reduceDepth`: 增加 / 减少大纲的一级. `outline-map.defaultMaxDepth` 为正值时可用.
- `outline-map.pin` | `outline-map.unpin`: 固定 / 取消固定 / 冻结大纲视图.
- `unpin`: 取消固定大纲视图;
- `pin`: 大纲节点将不会自动展开;
- `freeze`: 大纲节点将不会自动展开, 同时大纲视图不会自动滚动;
- 排序
- `按位置排序`: 按位置排序大纲节点;
- `按名称排序`: 按名称排序大纲节点;
- `按类型排序`: 按类型排序大纲节点;

---

## 建议: 将视图移至辅助侧栏 (vscode ^1.64)
建议: 将视图移至辅助侧栏 (vscode ^1.64)

> Outline Map 依赖于 vscode 或 其他扩展提供符号信息
> Outline Map 不会进行语言相关的符号解析, 符号信息由 vscode 或其他扩展提供.
>
> 参考: [vscode-code-outline/language-support](https://github.com/patrys/vscode-code-outline#language-support)
---

**Enjoy!**
**Enjoy! ❤️**
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "outline-map",
"displayName": "Outline Map",
"description": "A visual, interactive outline map that combinesAlternative Minimap. the clarity of the outline with the intuitive overview of the minimap. Enhanced version of vscode built-in outline.",
"version": "1.3.2",
"version": "1.4.0",
"repository": {
"url": "https://github.com/Gerrnperl/outline-map.git"
},
Expand Down Expand Up @@ -48,6 +48,21 @@
"href": "https://img.shields.io/",
"url": "https://img.shields.io/visual-studio-marketplace/stars/gerrnperl.outline-map?color=97dbf3&style=flat-square",
"description": "rating"
},
{
"href": "https://img.shields.io/",
"url": "https://img.shields.io/visual-studio-marketplace/d/gerrnperl.outline-map?color=62abf5&logo=visualstudiocode&style=flat-square",
"description": "downloads"
},
{
"href": "https://img.shields.io/",
"url": "https://img.shields.io/github/stars/gerrnperl/outline-map?color=f2c661&logo=github&style=flat-square",
"description": "stars"
},
{
"href": "https://img.shields.io/",
"url": "https://img.shields.io/github/license/gerrnperl/outline-map?color=f9e2ae&logo=github&style=flat-square",
"description": "license"
}
],
"contributes": {
Expand Down

0 comments on commit f812c79

Please sign in to comment.