Implement "Go to definition" functionality in AXAML code
Is your feature request related to a problem? Please describe.
While developing an Avalonia application I am constantly dearly missing the "Go to definition" functionality in AXAML code. Having to manually search for properties, types, resource dictionaries, templates and everything else adds up very quickly.
Describe the solution you'd like
"Go to definition" should be implemented and it should automatically bring you to the definition of the element under the caret (be it in C# code or in AXAML code).
Describe alternatives you've considered
None.
Additional context
Labels : [area-dev-tools] [enhancement]
Shouldn't this be an issue in https://github.com/AvaloniaUI/AvaloniaVS ?
Maybe it can be moved by the avalonia team
Indeed, moving to AvaloniaVS (Rider has built-in Go to definition support for Avalonia).
+1
This is a very basic feature... I wonder how can anyone use a technology without such a feature.
+1
I started to contact avalonia in the second half of 2022. The first problem at that time was that I could not go to the definition through F12, such as command binding, which was very inconvenient. In WPF or maui, at least I have very frequent usage, but now It is already 2024 and it is still not supported. I hope it can be supported in avalonia as soon as possible. Thank you very much.
+1
Please implement this.
+1 annoying
+1 I'm surprised this hasn't been implemented yet.
+1 I'm surprised this hasn't been implemented yet.
+1
+1
If Avalonia wants to win developers over from other frameworks they need to do the basics. Especially if MAUI developers is a target audience, the vast majority will be using VS.
2025 and still no movement on such a basic feature. Is the team even aware of this? I keep hearing that Avalonia is well supported by Microsoft, but I'm not seeing it.
This feature has been added to version 11.10.4.