[x] Indent/Unindent marker to make it like call hierarchy.
[x] Drag and drop markers and stacks to re-order them.
[x] Set title, colored icon, tags and reposition for a marker.
[x] Copy markers as markdown into clipboard.
[x] Show gutter icon for the line of marker.
[x] Data is saved in workspace .vscode dir with JSON format.
[x] Support multiple folder workspace.
[ ] Support stack groups (group is also nested).
[ ] Add default keyboard shortcuts tab/shift+tab to indent/unindent marker
Tips: If you want to get a Call Stack style like debug view, which is showing function name as the marker title other than the code of marker's line, select from the marker line to function name line, then add code marker. Try it and see!
ATTENTION!
If the files including markers are changed (like added/removed some lines), the position of markers would be kept originally! Thus it might mismatch your desired line. Keep it in mind.
Usage
Install this extension. Download from VSCode Market or search tianjianchn.code-explorer in VSCode extension sidebar.
Open the CODE EXPLORER panel in VSCode bottom panels.
Open a source code file and select a statement, then run the command Code Explorer: Add Code Marker(or through context menu) to push a new marker into current stack.
Repeat last step when you are reading the code repo.
Click markers in the stack to switch back and forward.
Right click markers and stacks to get more actions.