Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Remove deleted notes from the workspace index #15

Open
jevakallio opened this issue Jul 1, 2020 · 0 comments
Open

Remove deleted notes from the workspace index #15

jevakallio opened this issue Jul 1, 2020 · 0 comments

Comments

@jevakallio
Copy link
Contributor

jevakallio commented Jul 1, 2020

Right now we have an issue where, when you delete a note, it will get re-added to reference lists until you restart VS Code.

The "short-term" fix for this is to implement the missing removeNote method in foam-workspace-manager and call that when a note is deleted in the VS Code workspace.

In the long term, I want to rewrite the workspace manager to be a language server / external process, so we can run it outside of VS Code, and update references in the background, not just in the active editor.

Workaround

Cmd+Shift+P, "Reload" after deleting a file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant