diff --git a/ProjectNLD/.cursor/rules/nld-ai-rules.mdc b/ProjectNLD/.cursor/rules/nld-ai-rules.mdc index 2f10c0a896c..d7ac2814b6d 100644 --- a/ProjectNLD/.cursor/rules/nld-ai-rules.mdc +++ b/ProjectNLD/.cursor/rules/nld-ai-rules.mdc @@ -1,11 +1,22 @@ --- description: globs: +alwaysApply: false +--- +--- +description: +globs: alwaysApply: true --- # Your rule content +# 在执行大量代码修改之前,先和用户确认设计思路再继续执行 + +# 编码要求 +使用面向对象的设计思路 +单个文件/模块尽可能小且功能单一 + ## 一般准则 - 按要求去做,不扩展额外的功能 diff --git a/ProjectNLD/.cursorignore b/ProjectNLD/.cursorignore index 4791e39463c..ae2f9ac2cd3 100644 --- a/ProjectNLD/.cursorignore +++ b/ProjectNLD/.cursorignore @@ -4,6 +4,7 @@ *.pidb.meta *.pdb.meta *.mdb.meta +*.meta # Unity3D generated file on crash reports sysinfo.txt