AvaloniaVS icon indicating copy to clipboard operation
AvaloniaVS copied to clipboard

Implement "Go to definition" functionality in AXAML code

Open nicola36631 opened this issue 2 years ago • 9 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]

nicola36631 avatar Sep 01 '23 20:09 nicola36631

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

Maybe it can be moved by the avalonia team

Mrxx99 avatar Sep 01 '23 20:09 Mrxx99

Indeed, moving to AvaloniaVS (Rider has built-in Go to definition support for Avalonia).

MrJul avatar Sep 01 '23 20:09 MrJul

+1

This is a very basic feature... I wonder how can anyone use a technology without such a feature.

AlessandroMartinelli avatar Apr 05 '24 08:04 AlessandroMartinelli

+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.

shushu789 avatar May 01 '24 05:05 shushu789

+1

Please implement this.

umlx5h avatar May 23 '24 23:05 umlx5h

+1 annoying

valerii49561 avatar Aug 02 '24 16:08 valerii49561

+1 I'm surprised this hasn't been implemented yet.

awp-sirius avatar Dec 19 '24 11:12 awp-sirius

+1 I'm surprised this hasn't been implemented yet.

AmsDarkRed avatar Apr 24 '25 02:04 AmsDarkRed

+1

nilselvefors avatar May 19 '25 12:05 nilselvefors

+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.

bmadtiger avatar Jul 26 '25 07:07 bmadtiger

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.

cbordeman avatar Jul 29 '25 06:07 cbordeman

This feature has been added to version 11.10.4.

grokys avatar Oct 13 '25 11:10 grokys