Просмотр исходного кода

Update pull_request_template.md

omar 7 лет назад
Родитель
Сommit
3c427e284f
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      .github/pull_request_template.md

+ 3 - 3
.github/pull_request_template.md

@@ -1,8 +1,8 @@
 - Please read https://github.com/ocornut/imgui/blob/master/.github/CONTRIBUTING.md
 - Please read https://github.com/ocornut/imgui/blob/master/.github/CONTRIBUTING.md
 - When adding a feature, please describe the usage context (how you intend to use it, why you need it, etc.).
 - When adding a feature, please describe the usage context (how you intend to use it, why you need it, etc.).
-- When fixing a warning or compilation problem, please post the compiler log and specify the version and OS you are using.
-- Try to attach screenshots to clarify the context and demonstrate the feature at a glance.
-- Make sure your code follows the coding style already used in imgui (4 spaces instead of tabs, "type* name", "local_variable", "FunctionName", "MemberName", etc.). We don't use modern C++ idioms and can compile without C++11.
+- When adding a feature, try to attach screenshots/gifs to clarify the context and demonstrate the feature at a glance.
+- When fixing a warning or compilation problem, post the compiler log and specify the version and OS you are using.
+- Make sure your code follows the coding style already used in the codebase (4 spaces identation, no tabs, `type* name`, `local_variable`, `FunctionName()`, `MemberName`, `// Text Comment`, `//CodeComment()`, etc.). We don't use modern C++ idioms, we don't use C++ style cast, we don't use C++ headers, and we can compile without a C++11 compatible compiler.
 - Make sure you create a branch for the pull request. In Git, 1 PR is associated to 1 branch. If you keep pushing to the same branch after you submitted the PR, your new commits will appear in the PR.
 - Make sure you create a branch for the pull request. In Git, 1 PR is associated to 1 branch. If you keep pushing to the same branch after you submitted the PR, your new commits will appear in the PR.
 
 
 (Clear this form before submitting your PR)
 (Clear this form before submitting your PR)