@@ -161,5 +161,97 @@ pub trait LanguageFeatureProviderRegistry: Environment + Send + Sync {
161161
162162 async fn PrepareRename ( & self , DocumentURI : Url , PositionDTO : PositionDTO ) -> Result < Option < Value > , CommonError > ;
163163
164- // ... other provider methods will be added here.
164+ /// Provides rename edits for a symbol at the given position.
165+ async fn ProvideRenameEdits (
166+ & self ,
167+ DocumentURI : Url ,
168+ PositionDTO : PositionDTO ,
169+ NewName : String ,
170+ ) -> Result < Option < Value /* WorkspaceEditDTO */ > , CommonError > ;
171+
172+ /// Provides document symbols (outline) for the given document.
173+ async fn ProvideDocumentSymbols (
174+ & self ,
175+ DocumentURI : Url ,
176+ ) -> Result < Option < Value /* Vec<DocumentSymbolDTO> */ > , CommonError > ;
177+
178+ /// Provides workspace symbols matching the given query.
179+ async fn ProvideWorkspaceSymbols (
180+ & self ,
181+ Query : String ,
182+ ) -> Result < Option < Value /* Vec<WorkspaceSymbolDTO> */ > , CommonError > ;
183+
184+ /// Provides signature help at the given position.
185+ async fn ProvideSignatureHelp (
186+ & self ,
187+ DocumentURI : Url ,
188+ PositionDTO : PositionDTO ,
189+ ContextDTO : Value ,
190+ ) -> Result < Option < Value /* SignatureHelpDTO */ > , CommonError > ;
191+
192+ /// Provides folding ranges for the given document.
193+ async fn ProvideFoldingRanges (
194+ & self ,
195+ DocumentURI : Url ,
196+ ) -> Result < Option < Value /* Vec<FoldingRangeDTO> */ > , CommonError > ;
197+
198+ /// Provides selection ranges at the given positions.
199+ async fn ProvideSelectionRanges (
200+ & self ,
201+ DocumentURI : Url ,
202+ Positions : Vec < PositionDTO > ,
203+ ) -> Result < Option < Value /* Vec<SelectionRangeDTO> */ > , CommonError > ;
204+
205+ /// Provides semantic tokens for the full document.
206+ async fn ProvideSemanticTokensFull (
207+ & self ,
208+ DocumentURI : Url ,
209+ ) -> Result < Option < Value /* SemanticTokensDTO */ > , CommonError > ;
210+
211+ /// Provides inlay hints within the given range.
212+ async fn ProvideInlayHints (
213+ & self ,
214+ DocumentURI : Url ,
215+ RangeDTO : Value ,
216+ ) -> Result < Option < Value /* Vec<InlayHintDTO> */ > , CommonError > ;
217+
218+ /// Provides type hierarchy supertypes for the given item.
219+ async fn ProvideTypeHierarchySupertypes (
220+ & self ,
221+ ItemDTO : Value ,
222+ ) -> Result < Option < Value /* Vec<TypeHierarchyItemDTO> */ > , CommonError > ;
223+
224+ /// Provides type hierarchy subtypes for the given item.
225+ async fn ProvideTypeHierarchySubtypes (
226+ & self ,
227+ ItemDTO : Value ,
228+ ) -> Result < Option < Value /* Vec<TypeHierarchyItemDTO> */ > , CommonError > ;
229+
230+ /// Provides call hierarchy incoming calls for the given item.
231+ async fn ProvideCallHierarchyIncomingCalls (
232+ & self ,
233+ ItemDTO : Value ,
234+ ) -> Result < Option < Value /* Vec<CallHierarchyCallDTO> */ > , CommonError > ;
235+
236+ /// Provides call hierarchy outgoing calls for the given item.
237+ async fn ProvideCallHierarchyOutgoingCalls (
238+ & self ,
239+ ItemDTO : Value ,
240+ ) -> Result < Option < Value /* Vec<CallHierarchyCallDTO> */ > , CommonError > ;
241+
242+ /// Provides linked editing ranges at the given position.
243+ async fn ProvideLinkedEditingRanges (
244+ & self ,
245+ DocumentURI : Url ,
246+ PositionDTO : PositionDTO ,
247+ ) -> Result < Option < Value /* LinkedEditingRangesDTO */ > , CommonError > ;
248+
249+ /// Provides on-type formatting edits.
250+ async fn ProvideOnTypeFormattingEdits (
251+ & self ,
252+ DocumentURI : Url ,
253+ PositionDTO : PositionDTO ,
254+ Character : String ,
255+ OptionsDTO : Value ,
256+ ) -> Result < Option < Vec < TextEditDTO > > , CommonError > ;
165257}
0 commit comments