Autocomplete datestrings

This extension provides completion for recent date strings, such as today, yesterday, and tomorrow, on VS Code.

Features
- Autocompletes recent dates, including the past and the future.
- You can configure the range of dates to be suggested (e.g., from 30 days ago to 7 days from now).
- You can customize the date format with any format available in day.js, such as
YYYY-MM-DD or MMMM D, YYYY .
Configuration
You can configure this extension in your VS Code settings.json .
Setting |
Description |
Default |
datestrings.maxDaysBefore |
Specifies how many days ago to include in the completion list. |
27 |
datestrings.maxDaysAfter |
Specifies how many days after today to include in the completion list. |
7 |
datestrings.dateFormat |
Specifies the date format. See the day.js documentation for available formats. |
"YYYY/MM/DD" |
Installation
- Launch Visual Studio Code.
- Open the Extensions view by pressing
Ctrl+Shift+X (Windows, Linux) or Cmd+Shift+X (macOS).
- Search for
Autocomplete datestrings .
- Find the Autocomplete datestrings extension and click the Install button.
License
MIT
| |