Skip to content

chore: 补齐忽略规则(git/打包两侧),补齐 VS Code 任务与调试配置 - #4

Merged
AliceJump merged 1 commit into
mainfrom
chore/ignore-rules-and-vscode-config
Sep 22, 2026
Merged

AliceJump merged 1 commit into
mainfrom
chore/ignore-rules-and-vscode-config

Conversation

@AliceJump

Copy link
Copy Markdown
Owner

chore: 补齐忽略规则(git/打包两侧),补齐 VS Code 任务与调试配置

背景

普查发现:忽略规则在 git 侧(.gitignore)打包侧(.vscodeignore) 两侧职责不同、
必须都写,但多处只写了一侧。

忽略规则

  • .gitignoreverification-*/verification */* —— .vscodeignore 早有这条
    (注释里记着 2026-09-20 实测漏了 107 KB),git 侧一直缺失
  • .gitignoreok_templates/ —— 空目录 git 不报 ??,长期潜伏漏忽略
  • .vscodeignore.workbuddy/** —— 必须.gitignore 忽略了它但 vsce 只认
    .vscodeignore;实测 vsce ls 里出现过 .workbuddy/memory/*.md,会被发到 Marketplace
  • .vscodeignoreDEVELOPMENT.en.md(与 DEVELOPMENT.md 对称)、.gitignore(运行时无用)、
    docs/**(代码里 10 处引用全是注释,无一处运行时访问)

VS Code 开发配置

  • .vscode/tasks.json 补齐与 CI 对齐的测试/打包任务(两仓共 5 条):
    npm test / npm run package / gradlew classes / gradlew test / gradlew buildPlugin
  • .vscode/launch.json 启用 java 附加配置(需 vscjava.vscode-java-debug
  • DEVELOPMENT.md / DEVELOPMENT.en.md 同步任务表,并修掉「launch.json 里有附加到
    沙箱 IDE 配置」这句与实际不符的描述(那段配置此前是注释掉的)

关系

忽略规则 —— git 侧(.gitignore)与打包侧(.vscodeignore)职责不同,必须都写:

- .gitignore 补 verification-*/ 与 verification */*:.vscodeignore 早有这条
  (注释里记着 2026-09-20 实测漏了 107 KB),git 侧一直缺失
- .gitignore 补 ok_templates/:空目录 git 不报 ??,长期潜伏漏忽略
- .vscodeignore 补 .workbuddy/**:**必须** —— .gitignore 忽略了它但 vsce 只认
  .vscodeignore;实测 vsce ls 里出现过 .workbuddy/memory/*.md,会被发到 Marketplace
- .vscodeignore 补 DEVELOPMENT.en.md(与 DEVELOPMENT.md 对称)、.gitignore(运行时无用)、
  docs/**(代码里 10 处引用全是注释,无一处运行时访问)

VS Code 开发配置:
- .vscode/tasks.json 补齐与 CI 对齐的测试/打包任务(两仓共 5 条)
- .vscode/launch.json 启用 java 附加配置(需 vscjava.vscode-java-debug)
- DEVELOPMENT.md / DEVELOPMENT.en.md 同步任务表,并修掉"launch.json 里有附加到
  沙箱 IDE 配置"这句与实际不符的描述
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: ef5233cc-90d3-451d-af88-bf266645da26

📥 Commits

Reviewing files that changed from the base of the PR and between 4de32c3 and 18896b6.

📒 Files selected for processing (6)
  • .gitignore
  • .vscode/launch.json
  • .vscode/tasks.json
  • .vscodeignore
  • DEVELOPMENT.en.md
  • DEVELOPMENT.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AliceJump
AliceJump merged commit 2890adf into main Sep 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant