Files
devstar_plugin/docs/developer_manual.md
2025-07-20 07:00:47 +00:00

44 lines
997 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 项目结构
`package.json`
- 插件基本信息
- 插件的命令、对外开放的接口
- 插件的activity bar、status bar
- scripts
- 项目配置、依赖
`tsconfig.json``webpack.config.js`
- ts编译为js的配置
assets目录
- 静态资源
源文件
- `main.ts`负责构建插件、构建插件过程的操作activate/deactivate插件
- `home.ts`负责与home页面相关的操作如构建home页面webview、作为home页面与vscode交互的桥梁
- home页面 - embedded.html
- views目录负责vscode中除home页面的其他界面设计
- `quick-access-tree.ts`负责左侧快速访问栏
- `remote-container.ts`负责与remote container相关的操作如第一次连接容器、打开容器中的项目文件夹
- `utils.ts`:一些通用函数
.devcontainer目录
- devcontainer相关配置
.vscode目录
- `launch.json`(编译)启动插件配置
## 模块
Remote container
Home