You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I tried the new version of C# DevKit and it shows me an Intellisense for XAML code. Will it be possible to use this mechanism as it is done with C# Completion (CompletionService.GetCompletionsAsync)? Or maybe with reflection?
For example: new C# DevKit + MAUI project:
The text was updated successfully, but these errors were encountered:
@JaneySprings While the XAML IntelliSense engine uses Roslyn and runs inside of the Roslyn LSP language server process it does not expose any public extensibility points. In other words, no, it is not possible to use Roslyn APIs to query for XAML completions for example.
However, you should be able to write your own additional document analyzer for XAML now and provide code fixes that should show up as lightbulb code actions in VS Code for .NET MAUI XAML files. You would still have to do your own XAML parsing though.
Hi! I tried the new version of
C# DevKit
and it shows me an Intellisense for XAML code. Will it be possible to use this mechanism as it is done with C# Completion (CompletionService.GetCompletionsAsync
)? Or maybe with reflection?For example: new
C# DevKit
+ MAUI project:The text was updated successfully, but these errors were encountered: