Repository navigation
Native UI
github-actions[bot] edited this page Nov 29, 2026
·
1 revision
The native_ui Copier flag enables the following minimal examples. Disable it to omit native UI source modules and manifest contributions.
| Recipe | Source | Try it |
|---|---|---|
| Hierarchical Tree View | src/views/workspace.ts | Reveal workspace tree, expand a directory |
| Tree refresh, selection and checkboxes | src/native.ts | Select items, toggle file checkboxes, refresh |
| Drag and drop | src/views/workspace.ts | Drag a resource onto the tree; its URI is added to Commands without moving the file |
| Multi-select Quick Pick | src/commands/quick-input.ts | Select multiple resources |
| Multi-step Quick Pick | src/commands/quick-input.ts | Resource action wizard; use Back |
| Dynamic picker | src/commands/quick-input.ts | Search workspace files |
| Input validation and masked input | src/commands/quick-input.ts | Enter validated label; Masked input example |
| File and folder dialogs | src/commands/quick-input.ts | Choose files, folder or save destination |
| Sidebar and panel | src/native.ts | Open Project, Project information or Resources |
| Status Bar | src/commands/feedback.ts | Switch editor and selection |
| Notifications and progress | src/commands/feedback.ts | Show notification, warning or cancellable progress |
| Document navigation and tabs | src/commands/editor.ts | Navigate to resource; Inspect open tabs |
| Document comparison | src/commands/editor.ts | Compare two files |
| Editor and workspace edits | src/commands/editor.ts | Replace selected text, insert snippet or append to selected files |
| Decorations | src/views/decorations.ts | Toggle file decoration; Mark active line |
| Theme | src/views/theme.ts | Inspect active theme |
| Welcome view | src/native.ts | Toggle welcome view |
Keep command registration in the extension host. Register disposable objects with the extension context. Use stable APIs. The screenshot harness uses workbench internals only for test automation, never in runtime. Do not write to real files without explicit user action. Use context keys to control contribution visibility. Test native providers with the extension host rather than mocking the entire VS Code API.