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
203 stars 14 forks source link

Does not correctly update its internal mapping #62

Open martixy opened 3 months ago

martixy commented 3 months ago

Describe the bug The internal mapping of symbols is not updated.

To Reproduce Steps to reproduce the behavior:

  1. Open a file
  2. Go to the map and pick a function
  3. Add a few new lines above function
  4. Click on function on map - you are taken to the line the function was BEFORE adding the new lines.

Expected behavior Clicking on a symbol on the sidebar takes you to the correct line.

Desktop (please complete the following information): VSCode: Version: 1.88.0 (system setup) Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c Date: 2024-04-03T13:26:18.741Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.19045