AvaloniaUI / AvaloniaVS

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

Implement "Go to definition" functionality in AXAML code #385

Open nicola36631 opened 1 year ago

nicola36631 commented 1 year ago

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 1 year ago

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

Maybe it can be moved by the avalonia team

MrJul commented 1 year ago

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

AlessandroMartinelli commented 5 months ago

+1

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

shushu789 commented 4 months ago

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

umlx5h commented 3 months ago

+1

Please implement this.

ValeriyMihaylovskiy commented 1 month ago

+1 annoying