AvaloniaUI / AvaloniaVS

Visual Studio Extension for Avalonia
MIT License
421 stars 81 forks source link

fix: ArgumentOutOfRangeException #382

Closed workgroupengineering closed 1 year ago

workgroupengineering commented 1 year ago

fix ArgumentOutOfRangeException causing from my PR #375.

I forgot to add the 'Extension' postfix causing ArgumentOutOfRangeException in the following lines:

https://github.com/AvaloniaUI/AvaloniaVS/blob/b25179d7354c2ec951a622fbc0ab9d2ff78e4606/CompletionEngine/Avalonia.Ide.CompletionEngine/Completion/CompletionEngine.cs#L282-L286

maxkatz6 commented 1 year ago

Wouldn't it be better if CompletionEngine code could understand that not all markup extensions names end with "Extension"?