Paramètres de l’éditeur pour les contributeurs
Configurer votre environnement de développement comme le font les employés de Vaadin facilite la révision et l’acceptation des contributions de code.
Règles générales de mise en forme
-
Espaces au lieu de tabulations
-
Encodage UTF-8
-
Fins de ligne de style Unix
\n
Mention de copyright
Tous les fichiers de code source doivent inclure une mention de copyright au début du fichier.
-
Ouvrez (Windows) ou (Mac)
-
Sur la page , modifiez le modèle pour ajouter le texte de copyright :
Source code
txt
Copyright 2000-${currentDate:date('yyyy')} Vaadin Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
the License.txt
txt
txt
A0EF8ED7-DED5-454E-A5D0-DA4F9669F650