Skip to content

Commit e5c0184

Browse files
docs(Common): Clarify inline completion provider is for extensions, not AI assistants
Update the doc comment on `ProvideInlineCompletionItems` in `LanguageFeatureProviderRegistry` to correct the description. The old wording implied this method is for AI coding assistants directly, but it actually serves any extension via the provider registry pattern — with GitHub Copilot, Roo Code, and Continue being prominent consumers. This improves trait documentation accuracy for implementors in the Mountain and Wind layers.
1 parent 561dfe0 commit e5c0184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/LanguageFeature/LanguageFeatureProviderRegistry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ pub trait LanguageFeatureProviderRegistry: Environment + Send + Sync {
292292
/// Called by the file explorer / SCM tree when rendering resource state.
293293
async fn ProvideFileDecoration(&self, ResourceURI:Url) -> Result<Option<Value>, CommonError>;
294294

295-
/// Provides inline completion items (ghost text) for AI coding assistants
295+
/// Provides inline completion items (ghost text) consumed by extensions
296296
/// such as GitHub Copilot, Roo Code, and Continue.
297297
async fn ProvideInlineCompletionItems(
298298
&self,

0 commit comments

Comments
 (0)