You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd imagine it working slightly differently -- you rename a file using your editor's regular 'rename' functionality and Marksman in response adjusts all the references to the renamed file. LSP has hooks for this such as textDocument/willRename and textDocument/didRename and at least in Emacs with lsp-mode these hooks work; I think neovim also handles this properly.
Most of the required functionality is already present in Marksman as part of title rename refactor. Implementing the hooks for file renaming should be straightforward.
Currently, the rename action modifies the title of a heading and links
referencing it, but the name of the file containing it is left as is.
Would it be possible to have an option (or another distinct code action) to
also rename the file as well?
The text was updated successfully, but these errors were encountered: