搜索

PythonReactSEOPDF
GitHub Skill

vscode-extension-workflow

Build, lint, test, and package this VS Code extension. Use when changing extension commands, activation, packaging, or build/test scripts.

robinbreast☆ 2 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Use this skill when working on workflows or commands for this repo's VS Code extension.

Shared conventions

  • Follow AGENTS.md for coding style, TypeScript/lint rules, testing conventions, and shared engineering constraints.
  • Keep this skill focused on workflow/packaging/command concerns.

Key files

Commands

  • Install deps: npm install
  • Bundle (dev): npm run esbuild
  • Bundle (minified): npm run vscode:prepublish
  • Type check: npm run compile
  • Lint: npm run lint
  • Tests: npm test

Single test

Workflow checklist

  1. Update package.json commands or contributions as needed.
  2. Keep README.md in sync with new commands or settings.
  3. Avoid editing generated output in out/ or dist/.
  4. Match existing TypeScript style and ESLint rules.
  5. Run npm run compile, npm run lint, and npm test after changes when feasible.
  6. Keep docs DRY: reference package.json as command/settings source of truth.
  7. Think and design first before implementation; decide workflow impacts before changing scripts/contributions.
  8. Always apply SOLID and DRY principles when changing extension workflow behavior.
  9. Avoid unnecessary refactors of scripts/contributions; keep workflow edits minimal and focused.

Feature/workflow hotspots

  • Filter controls now support per-field modes (Contains/Regex/Glob) and recent-filter operations.
  • Custom view flows include select/apply/toggle/import/export plus workspace/global storage scope.
  • Performance behavior includes refreshMode, debounceDelay, and adaptiveDebounce settings.
  • Search and saved filters use persistent stores (SearchHistoryStore, SavedFiltersStore).

Gotchas

  • The extension activates on onLanguage:arxml.
  • Additional activation occurs for views (arxml-integrated-view, bookmark-tree-view).
  • ESLint uses flat config (eslint.config.js), not legacy eslintrc files.
  • Tests are Mocha-based and executed via the VS Code test runner.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!