Where possible, all source code, property files, and metadata files (including application, test, and generated source code as well as other types of files such as XML, HTML, etc.) must include a header with appropriate copyright and license notices.
It's recommended to use the File Header Comment VS Code extension because it allows us to share the header within the team by the .vscode/settings.json.
Install the extension and assign some keyboard shortcut to the extension insertFileHeaderCommentOther, Ctrl+Alt+I for instance.
Every time you create a new file or edit a file that you created and doesn't yet have a header, use the keyboard shortcut to insert the according header template in the file.
Currently the following templates are available:
- cx_header_default
- cxheader_with#
This work is licensed under the Apache-2.0.
- SPDX-License-Identifier: Apache-2.0
- SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/portal-assets