You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+72-13Lines changed: 72 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,35 +13,95 @@ A visual, interactive outline map that combines the clarity of the outline with
13
13
14
14
## Features
15
15
16
-
-### Automatically scroll, expand and collapse the outline tree
16
+
### Follow
17
+
18
+
Automatically scroll, expand and collapse the outline tree when the cursor moves or the viewport scrolls.
19
+
17
20

18
-
-### Navigate through the outline
21
+
22
+
### Navigation
23
+
24
+
You can navigate to the symbol by clicking on the outline node like the built-in outline.
25
+
26
+
Keyboard navigation is also supported.
27
+
19
28

20
-
-### Flag diagnostics
29
+
30
+
### Diagnostics
31
+
32
+
Show diagnostics of the current file.
33
+
21
34

22
-
-### Search the outline (`<Alt-l>`)
23
-
append `@` to filter by symbol kind
24
-
-`/<exp>`: Normal
25
-
-`=<exp>`: RegExp
26
-
-`?<exp>`: Fuzzy
35
+
36
+
### Search
37
+
38
+
default keybinding: `<Alt-l>`
39
+
40
+
Search for symbols in the current file. You can use the following syntax to achieve different search effects:
41
+
42
+
-`/<exp>`: Normal search
43
+
-`=<exp>`: Regex
44
+
-`?<exp>`: Fuzzy search
45
+
46
+
You can append `@` to filter by symbol kind before the search expression.
27
47
28
48

29
49
50
+
### Region and tag
51
+
52
+
Supports region and tag syntax
53
+
54
+
You can define regions to group code symbols anywhere in the code (usually comments), or tags to mark locations.
55
+
56
+
#### Grammar
57
+
58
+
```md
59
+
#region <name> <comment>
60
+
#tag <name> <comment>
61
+
#endregion <name>
62
+
```
63
+
64
+
#### Features
65
+
- Allows customizing identifiers for regions and labels.
66
+
- Tag syntax highlighting (semantic highlighting needs to be enabled)
67
+
- Region folding
68
+
69
+

70
+
30
71
---
31
72
32
73
## Configuration
33
74
Changes will take effect after restarting the outline view
34
-
-`outline-map.color`: color table for specific symbols
75
+
76
+
### Customization
77
+
78
+
-`outline-map.color`: Color table for specific symbols
79
+
80
+
-`outline-map.customFont`: Custom font for the outline.
81
+
82
+
Syntax: `[ <family-name> | <generic-family> ]#`
83
+
84
+
-`outline-map.customCSS`: Custom css for the outline. The css will be injected into the outline's webview.
85
+
86
+
### Behavior
35
87
36
88
-`outline-map.follow`: Scroll the outline when the cursor moves or the viewport scrolls
37
89
38
90
-`outline-map.hiddenItem`: Choose items you do not want to see in the outline.
39
91
40
92
-`outline-map.defaultMaxDepth`: Set the default maximum depth of the outline tree. Set this to non-zero to enable the depth button `>` & `<`.
41
93
42
-
-`outline-map.customFont`: Custom font for the outline. Syntax: `[ <family-name> | <generic-family> ]#`
94
+
### Region and tag
95
+
96
+
-`outline-map.region.enabled`: Enable region and tag support
43
97
44
-
-`outline-map.customCSS`: Custom css for the outline. The css will be injected into the outline's webview.
98
+
-`outline-map.region.startRegion`: The start of a region.
99
+
100
+
-`outline-map.region.endRegion`: The end of a region.
101
+
102
+
-`outline-map.region.tag`: The start of a tag.
103
+
104
+
-`outline-map.region.highlight`: Enable region and tag syntax highlighting
45
105
46
106
## Commands
47
107
-`outline-map.toggleSearch`: Switch the visibility of search and navigation field. Default keybinding: `<Alt-l>`
@@ -53,9 +113,8 @@ Changes will take effect after restarting the outline view
53
113
---
54
114
55
115
## Suggestion: move view to secondary side panel (vscode ^1.64)
56
-

57
116
58
-
> Outline Map relies on (vscode || other extensions) to provide symbol information
117
+
> Outline Map relies on vscode or other extensions to provide symbol information
59
118
>
60
119
> Refer to the following links for more information: [vscode-code-outline/ language-support](https://github.com/patrys/vscode-code-outline#language-support)
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "outline-map",
3
3
"displayName": "Outline Map",
4
4
"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.",
0 commit comments