artempyanykh/marksman

Feature Request: implement WorkspaceWillRenameFiles

Opened this issue · 2 comments

default __.WorkspaceWillRenameFiles(_) = notImplemented

This functionality is expected to update all of the file's references when a file is renamed/moved to another directory.

It will bring us a lot of convenience when refactoring our markdown project.

See also:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_willRenameFiles

I desperately need this feature.
When renaming a link like [[filename]] in helix ditor, the file name and links pointing to this file elsewhere need to be changed at the same time.
And if the file name in the marksman lsp workspace is changed, several links need to be modified as well.
When this becomes possible, I would like to use obsidian and the helix editor simultaneously to manage markdown files. It becomes possible for me to conveniently write notes through a terminal at my desk and access files using a mobile device while on the road.

This feature would supercharge my work on documentation websites the most! 🚀 I write a lot of teaching stuff, where the structure is currical. Not having to manually edit all the links would be a game changer in restructuring the programming lessions.