Adding and Using WSO2 Copyright License in VSCode

Achintha Isuru
3 min readSep 1, 2022
Photo by NICHOLAS BYRNE on Unsplash

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 😊

  1. First, create or open an existing project in VSCode.
  2. Install the File Header Comment extension in VSCode. This extension will aid us to manage license headers in the IDE easily.
  3. 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…

--

--