Closed workgroupengineering closed 10 months ago
This is great, do you want to bring them to VS Code extension too too? https://github.com/AvaloniaUI/AvaloniaVSCode
Snippet guide: https://code.visualstudio.com/api/language-extensions/snippet-guide
I have little experience with VS Code, but I'll give it a try
Rider has most of these snippets with other names: https://github.com/ForNeVeR/AvaloniaRider/blob/0e7782c498658e8a787b7a0b35fe247a86b5266d/src/extensions/settings/liveTemplates.DotSettings
While I don't have an opinion on which name is better, I think consistency is important here, to avoid confusion between IDEs.
I aligned the snippet shortcuts to Raider, but they don't seem like shortcuts to me 😄.
Add following snippet to C#