An extension for adding time-stamped files and folders. It supports multiple naming formats based on priority, automatically resolving conflicts with existing file/folder names and generating unique names using more detailed timestamp formats or sequential numbers where necessary.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
TimeStamp File/Folder is an extension for adding time-stamped files and folders. It's ideal for quick note-taking, creating meeting minutes, and other daily tasks.
This extension supports multiple configurable naming formats and applies them according to priority. It automatically resolves conflicts with existing file/folder names and generates unique names using more detailed time stamp formats or sequential numbers when necessary.
Key Features
Creation of time-stamped files/folders
Customizable naming formats
Conflict avoidance with existing file/folder names
Usage
Right-click in the Explorer pane and select 'New file (with time stamp)' or 'New folder (with time stamp)' from the context menu.
A file or folder with a name containing the current date and time will be created based on the selected format.
Settings
In the extension's settings, you can customize the following options:
timestamp-file-folder.namingFormats: Specifies the naming formats for timestamps in order of priority. Default values are:
Flexible Naming Conventions: Multiple formats can be specified, and if there's a conflict with an existing file/folder name, the next more detailed format is used.
Conflict Avoidance: Sequential numbers are automatically appended in case of conflicts for all formats.
Consistency with Parent Folder: If the parent folder uses a particular format, the new file/folder will start with the next level of formatting.
Updating Existing Files: If a file with the same name exists, it's automatically updated to a more detailed format.