Gerrnperl / outline-map

A visual, interactive outline map that combines the clarity of the outline with the intuitive overview of the minimap. Alternative Minimap.
https://marketplace.visualstudio.com/items?itemName=Gerrnperl.outline-map
MIT License
227 stars 17 forks source link
extension outline tool vscode vscode-extension

Outline Map

EN | 中文

overview

A visual, interactive outline map that combines the clarity of the outline with the intuitive overview of the minimap. Enhanced version of vscode built-in outline.

version installs rating downloads stars license

Features

Follow

Automatically scroll, expand and collapse the outline tree when the cursor moves or the viewport scrolls.

follow

Navigation

You can navigate to the symbol by clicking on the outline node like the built-in outline.

Keyboard navigation is also supported.

navigation

Diagnostics

Show diagnostics of the current file.

Flag diagnostics

Search

default keybinding: <Alt-l>

Search for symbols in the current file. You can use the following syntax to achieve different search effects:

You can append @ to filter by symbol kind before the search expression.

Search

Region and tag

Supports region and tag syntax

You can define regions to group code symbols anywhere in the code (usually comments), or tags to mark locations.

Grammar

#region <name> <comment>
#tag <name> <comment>
#endregion <name>

Features

region and tag

Workspace symbols

You can display symbols of multiple files in the workspace, such as regions, tags, functions, etc., and quickly jump to the corresponding location.

After enabling this feature, the symbols of newly opened files will be automatically added to the list. You can manage the symbols in the list in the following ways:

By default, region and tag symbols will be added. You can customize the symbols to be added by modifying the outline-map.IncludeSymbols setting.


Configuration

Customization

Behavior

Region and tag

Commands

View Actions


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

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


Enjoy! ❤️