What is the recommended workflow for renaming Markdown files? #4582
-
Currently, if I want to move or rename a markdown file, I need to manually make sure all references to this file are being updated. It's completely logical, but also slightly inconvenient and error-prone. I was wondering if there was a suggested workflow to simplify that experience. I am currently editing using Visual Studio Code. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you use an IDE like PyCharm, and rename/refactor files, there's an option to search for references which will automatically rename all those references as well. |
Beta Was this translation helpful? Give feedback.
-
On vscode, you can configure Screen.Recording.2025-02-27.at.11.25.53.PM.mov |
Beta Was this translation helpful? Give feedback.
On vscode, you can configure
markdown.updateLinksOnFileMove.enabled
in settings. You'll still need to update config files (sidebar/navbar mainly) or if you're using path or file name in vue components, etc. I personally just prefer using project wide search and replace.Screen.Recording.2025-02-27.at.11.25.53.PM.mov