Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make vault.rename() docs point to FileManager.renameFile() #133

Open
claremacrae opened this issue Jul 29, 2024 · 0 comments
Open

Make vault.rename() docs point to FileManager.renameFile() #133

claremacrae opened this issue Jul 29, 2024 · 0 comments

Comments

@claremacrae
Copy link

Background

This crops up on Discord periodically:

For example, from @zsviczian on Discord today:

It appears as if app.vault.rename (file, newpath) does not honor "Automatically update internal links". Do you know if this is by design or this is a bug? How should I rename files instead?

The answer is always to use https://docs.obsidian.md/Reference/TypeScript+API/FileManager/renameFile

Suggestion:

In https://docs.obsidian.md/Reference/TypeScript+API/Vault/rename:

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

No branches or pull requests

1 participant