It provides syntax highlighting for the RPM *.changes files and a command
for generating a new changes entry and runs some date validations.
Features
Syntax highlighting, when the separator does not have exactly 67 dashes then
it is displayed in red.
It can automatically generate a new changes entry:
Use the command palette (Ctrl+Shift+P)
and run the RPM Changes: Insert a New Changes Entry command.
Or right-click in the editor and select the Insert a New Changes Entry
item in the context menu.
The author name and email can be read from .oscrc file, from Git
configuration or it can be configured in the extension settings, see below.
On hover it displays a tooltip with relative date.
Validates the weekday of the date, when changing a date manually you might
forget to update the day of the week. A quick fix with the correct weekday is
available.
Validates the date sequence, dates not in sequence are reported as errors.
As a quick fix previous change date increased by minutes is offered.
Extension Settings
This extension uses these settings:
rpm-changes.author.name: The full name of the author.
rpm-changes.author.email: The email of the author.
Just go to the settings configuration in VSCode (Ctrl + ,) and navigate to the
Extensions -> RPM Changes section.
Known limitations
Can validate dates only in UTC, CET and CEST time zones, all others are
ignored and not validated. But usually the time stamps should be in UTC
anyway...