Changelog Create extension for Visual Studio CodeThis extension helps developers make easy notes on changes made to their codebase. 🌱 IntroductionThis is the Visual Studio Code alternative to a Visual Studio extension developed for the convenience of creating special change files that are used to manage a changelog. What are the change files? 🤔Change files are just files located in the changes directory with the following naming scheme:
Acceptable entries for the
This decision was inspired by following the principles for keeping a good changelog. To avoid incorrect file naming and to ease file creation process on the developer, this extension was made for Visual Studio Code alongside our other helpers: These files are then used with our Changelog Manager tool to compile changes and insert a new changelog sections and thus versioning the application. For the convenience of using this tool to manage a changelog in an automated CI/CD environment we made a GitHub Action and an Azure DevOps extension. We highly recommend that you read up on how and what exactly is it doing behind the scenes, as well as, learn how to use the 📖 Table of contents
🛠 PrerequisitiesSimple, just Visual Studio Code editor 🎉 💻 InstallationYou can get the extension either by downloading and installing it manually from Visual Studio Code Marketplace or by searching for it in the Visual Studio Code Extension Manager. 📝 UsageYou can trigger the extension by using the In the first step, user will be prompted to choose a type of the change he is documenting Based on the users workspace one of the two things will happen next:
In the next step, one of the two things will happen next depending on if the user has defined a
And in the final step, the user is prompted for a change description which is validated for empty and whitespace input And that's it! You should now have a new file created inside the changes folder in your workspace directory! 🎉 You can now let this folder accumulate change entries which will be bundled up into your ⚙ Configuration file
If we wanted to allow only 3 different change categories:
If the configuration exists, user will be able to choose only one of the categories provided as the change category. On the other hand, if the configuration file does not exist or the categories list is empty, user will be shown a text input and everything will be able to qualify as the change category. For more features that can be configured using the configuration file, see the Changelog Manager's README. 🏗 DevelopmentThis action uses Yarn v1 as its package manager, so in order to get quickly up and developing you will need to have it installed on your machine. If you don't already have it, you can easily install it by using the following command (assuming you have Node.js installed)
Now you can install dependencies using the following command
Available commands
☎ SupportIf you are having problems, please let us know by raising a new issue. 🪪 LicenseThis project is licensed with the MIT License. |