Avalonia: Add Rider plugin

Created on 17 Sep 2016  ·  20Comments  ·  Source: AvaloniaUI/Avalonia

Can you create a plugin for Rider IDE ?

up-for-grabs

Most helpful comment

Yeah!

https://www.jetbrains.com/rider/nextversion/

"Our biggest news is that we're introducing support for Avalonia! There will be more updates to come, but already there's a lot in there. Rider offers code completion, support for bindings, and quick-fixes to create all sorts of Avalonia properties. The UI previewer is not yet included, but we're working on it. Give the Avalonia support a try, and remember ‐ we'd love to get your feedback on this!"

All 20 comments

Edited:
***Important****
https://youtrack.jetbrains.com/issue/RIDER-39247 - this is the tracking issue for Avalonia support. Go and vote there. That's the only way to get proper avalonia support, we need approximately 100+ votes from their paying customers to get things in motion
If you experience issues not listed in that tracking issue, go and file a new one

Original message back from 2016:

Rider currently lacks proper plugin SDK. It's also currently impossible to have custom DTO for IDEA<->R# communication. We also need a portable previewer infrastructure (#900). So right now this is blocked by issues on our side and on rider side.

Okay

Rider try to add references to avalonia xaml and rename all classes to some for example.
What can i do?

2017-08-19 20-36-37

What can i do?

Go to https://youtrack.jetbrains.com/issues/RIDER and fill a bug report. They've claimed that their XAML engine detects XAML flavor basing on the root xmlns, so it's definitely a bug on Rider's side.

Reported as RIDER-8780

Is this still in active development if so I would like to help out wherever possible

@06needhamt
We've done everything that's needed to be done on Avalonia side. Now waiting for Rider guys to release a proper SDK.

Are there any new to this?

@kekekeks SDK ships the required parts now as documented here. It's pretty fresh, so ping me if you have any problems. We also have a Slack channel that I can invite you to, if you like.

I'm also working on a dotnet project template to get started, but this will probably take time until next week.

@kekekeks there is a template now located here. It is a work-in-progress, so if you have any questions, don't hesitate to ping me via GH issues or somewhere privately if you prefer.

Rider is ready for writing plugins but still lacks a lot of docs about plugin development process. I started writing such plugin in my repo but it will be really long process due to difficulty of plugin development. For example, right now my plugin has nothing except adding avalonia project types, but even this simple operation isn't obvious to implement and missing docs... Anyway I will keep updating it, Rider is my favorite IDE, I wanna see avalonia support in it!

@ingvar1995 hey sorry if I discourage you, but I don't think we need Avalonia project templates in Rider. Rider supports .NET Core standard templates, and Avalonia already has them.

This is just for start. Anyway manual installing of templates seems to be annoying for me so it's good to have ready template built-in in Rider

image

For me none of resharper things works in Rider. On screenshot I referenced some unexisting property, no error shown in rider. Suggestions, auto completing, and all this stuff don't work.

@jinek try using the EmbeddedResource directive for embedding Avalonia XAML files, instead of AvaloniaResource used by default. Rider doesn't understand the latter one currently, but understands the former. See an example project where IntelliSense in XAML is working in Rider.

You guys better file these issues in https://github.com/ForNeVeR/AvaloniaRider
We could teach Rider to enable the XAML features on AvaloniaResource and perform other customizations.

@jinek try using the EmbeddedResource directive for embedding Avalonia XAML files, instead of AvaloniaResource used by default. Rider doesn't understand the latter one currently, but understands the former. See an example project where IntelliSense in XAML is working in Rider.

In this keys x:Name components does not generate fields and rider can't generate event handlers

***important***
1) https://youtrack.jetbrains.com/issue/RIDER-39247 - this is the tracking issue for Avalonia support. Go and vote there. That's the only way to get proper avalonia support, we need approximately 100+ votes from their paying customers to get things in motion
2) If you experience issues not listed in that tracking issue, go and file a new one

@kekekeks I can definitely find at least 10 people. Will need a few days, though.

Yeah!

https://www.jetbrains.com/rider/nextversion/

"Our biggest news is that we're introducing support for Avalonia! There will be more updates to come, but already there's a lot in there. Rider offers code completion, support for bindings, and quick-fixes to create all sorts of Avalonia properties. The UI previewer is not yet included, but we're working on it. Give the Avalonia support a try, and remember ‐ we'd love to get your feedback on this!"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JonathaN7Shepard picture JonathaN7Shepard  ·  4Comments

RUSshy picture RUSshy  ·  4Comments

SeleDreams picture SeleDreams  ·  4Comments

khoshroomahdi picture khoshroomahdi  ·  4Comments

CreateLab picture CreateLab  ·  3Comments