AvaloniaUI/AvaloniaVS

Implement "Go to definition" functionality in AXAML code

nicola36631 opened this issue · 6 comments

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]

Mrxx99 commented

Shouldn't this be an issue in https://github.com/AvaloniaUI/AvaloniaVS ?

Maybe it can be moved by the avalonia team

MrJul commented

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