docs: update copilot instructions for clarity and conciseness

Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
方而静 2025-08-03 17:04:34 +08:00
parent a241b9b9bf
commit 7735da6e85
Signed by: szTom
GPG Key ID: 072D999D60C6473C
2 changed files with 5 additions and 2 deletions

View File

@ -1,2 +1,3 @@
+ Always use English for code comments and documents. + English-only comments and documentations
+ Don't create getters or setters if they are not necessary. + Check dev.md first
+ Avoid redundant getters/setters

View File

@ -166,3 +166,5 @@ istd::BiomeType biome = chunk.get_biome(sub_pos);
const auto& props = istd::get_biome_properties(biome); const auto& props = istd::get_biome_properties(biome);
std::cout << "Biome: " << props.name << std::endl; std::cout << "Biome: " << props.name << std::endl;
``` ```
<!-- DO NOT LIST INTERNAL API HERE -->