The Save All Code Files to Markdown extension allows you to save the content of all code files in your current workspace into a single Markdown file. This can be useful for documentation, sharing code snippets, or archiving project code.
Features
Support for Multiple Code Languages: Automatically gathers and saves code from various file types, including JavaScript, HTML, CSS, TypeScript, Python, Java, C++, C, and more.
Markdown Formatting: Each file's content is saved in a code block within a Markdown file for easy readability.
Excludes Node Modules: Automatically excludes node_modules and other unnecessary files from the search.
Installation
Open Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for Save All Code Files to Markdown.
Click Install to install the extension.
Usage
Open the Command Palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).
Type Save All Code Files to Markdown and select the command.
The extension will scan your workspace for supported code files and save their content to a file named all-code-files-content.md in the root of your workspace.
A notification will appear with the path to the created Markdown file.
Commands
Command
Description
Save All Code Files to Markdown
Saves all code files in the current workspace to a Markdown file.
Contributing
Contributions are welcome! Here are some ways you can help:
Report bugs and provide feedback by creating an issue.