CodeEditApp / CodeEditApp/CodeEdit

✨ Tree Data Provider (Sidebar Tree View Content)

未关闭
#220 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement extensions
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

# Overview
A TreeDataProvider (Tree View API) gives extension developers the ability to add content to a sidebar tab. Many extensions, like ToDo, would be able to utilize this API.

See the [VS Code Tree Data Provider Section](https://code.visualstudio.com/api/extension-guides/tree-view#tree-data-provider) for implementation reference.

# Additional Features
It would be great if we could add a filter feature. This is not included in VS Code, but would be really helpful for extensions like the Tailwind CSS extension I built for Nova that I would like to port over as an early extension. Maybe we could add a keywords property as an array to the TreeItem class. The filtering could then be done using those values.

image

# Resources
- [VS Code Tree View API Guide](https://code.visualstudio.com/api/extension-guides/tree-view)
- [VS Code Tree View Extension Sample](https://github.com/microsoft/vscode-extension-samples/tree/main/tree-view-sample)

贡献指南

打开贡献指南

调研方向

未指定任何仓库文件、入口点或测试。先从链接的 VS Code Tree View API Guide 和扩展示例开始,然后检查 CodeEdit 的侧边栏架构,以确定对 TreeDataProvider 的支持范围以及拟议过滤功能的范围;done 应定义为具有约定过滤行为的可工作的侧边栏树 API。

由索引模型根据 Issue 内容生成。

评估

技术栈
swift
领域
desktop
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。