tobias-z / vscode-harpoon

A vscode extension inspired by the neovim plugin Harpoon created by The Primeagen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit List Disappears

dezren39 opened this issue · comments

Describe the bug

Sometimes my edit list appears to disappear. To be fair, this may be user error on my part but I'm not sure where. When it's working and I have a lot of stuff open it all seems to work fine, but when I'm just getting setup, sometimes my list seems to disappear. Maybe if I didn't compulsively hit ctrl+w as often, but I didn't know that would prevent the file from just being reopened if that is the case.

To Reproduce

  1. Alt+A Add item.
  2. Close file or redirect to another file (tried both.)
  3. Alt+E Edit editors (item is there.)
  4. Save/Close Without Changes (tried both.)
  5. Alt+1 GoTo Editor (nothing happens.)
  6. Alt+E Edit editors (empty file.)

Expected behavior

  1. Alt+A Add item.
  2. Close file or redirect to another file.
  3. Alt+E Edit editors (item is there.)
  4. Save/Close Without Changes.
  5. Alt+1 GoTo Editor: Jump to item added earlier.
  6. Alt+E Edit editors (item is still there.)

Desktop (please complete the following information):

  • OS: Windows

Additional context

Sometimes it doesn't disappear? May be linked to having a completely empty workspace with no documents open? I tried with and without using a code workspace. My code directory is located in a drive separate from my user profile folder where my vs code extension settings, etc are. Should my local list appear in my workspace or is it supposed to always be in c:\users<user> somewhere related to the extension location?