CodeEditApp / CodeEditApp/CodeEdit

✨ Tree Data Provider (Sidebar Tree View Content)

Open
#220 0 comments 1 reaction 0 assignees View on GitHub
enhancement extensions
Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

# 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.