Adding and Using WSO2 Copyright License in VSCode
3 min readSep 1, 2022
WSO2 is one of the prominent companies, that provides free open-source software that can be used and improved by anyone worldwide. Hence, it is possible for anyone to contribute to the development of WSO2 projects and become a part of the WSO2 community.
Since we are open source, having a Copyright License is crucial since it describes a project file’s permitted usage and ownership. From this article, let’s look at how to add a license header from VSCode.
Let’s add the license profile 😊
- First, create or open an existing project in VSCode.
- Install the File Header Comment extension in VSCode. This extension will aid us to manage license headers in the IDE easily.
- Press shift+command+p (in Windows shift+control+p) and type open user settings (JSON).
4. In the JSON file, replace fileHeaderComment.parameter variable with the following,
“fileHeaderComment.parameter”:{ “*”:{ “author”: “Your Name”, “license_wso2”:[ “Copyright © ${year} WSO2 LLC. (http://www.wso2.com).", “”, “ WSO2 LLC. licenses this file to you…