Commit 88d0720
committed
feat(Common): Add ProvideFileDecoration and ProvideInlineCompletionItems to LanguageFeatureProviderRegistry
Extend the LanguageFeatureProviderRegistry trait in the Common crate with two new abstract methods for upcoming language feature implementations:
- ProvideFileDecoration: returns badge, tooltip, and colour information for a resource URI, consumed by the file explorer and SCM tree for rendering resource state.
- ProvideInlineCompletionItems: provides ghost-text completions for AI coding assistants (Copilot, Roo Code, Continue), accepting document URI, cursor position, and a context DTO.
Both methods return Option<Value> over CommonError, maintaining the trait's generic DTO-passing pattern for cross-crate async dispatch.1 parent b929d1d commit 88d0720
1 file changed
Lines changed: 16 additions & 0 deletions
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
291 | 307 | | |
292 | 308 | | |
293 | 309 | | |
| |||
0 commit comments