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

The Outline_Map becomes unable to auto expand as you scroll (No_Scroll_Sync), if you switch to another panel and switch back to Outline_Map panel #32

Closed Norlandz closed 1 year ago

Norlandz commented 1 year ago

Describe the bug

Steps to Reproduce the Bug

  1. install Outline_Map, open Vscode
  2. open a file, eg: say AA.js
  3. open Outline_Map panel -> everything is fine
  4. open Explorer_View panel (or any other panel)
  5. open (back to) Outline_Map panel -> Outline_Map is No_Scroll_Sync

Expected behavior

should auto Expand as you scroll

Workaround to Fix the Bug

  1. now Outline_Map is No_Scroll_Sync, eg: say now file AA.js is opened in your view -- want to re-enable Has_Scroll_Sync it
  2. open up Vscode Settings (or a file that has no Outline_Map structure)
  3. open another panel
  4. open (back to) Outline_Map -- now Outline_Map is clear -- serves a purpose of refresh (maybe)
  5. open (back to) file AA.js -> Outline_Map is Has_Scroll_Sync

Screenshots

%pn; 20230211_1152_31863; %t; 1920 2101; scs Zlgtx;  png2 png3 png3 1

Desktop (please complete the following information):** (I dont think is relevant)

Norlandz commented 1 year ago

(Have been using for a while. OutlineMap just needs to be refreshed at some point so it behaves properly. & It have been updated many times.) (Closing this issue for now.)