Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Jetbrains Rider plugin #246

Open
vboiarkin opened this issue Dec 5, 2023 · 12 comments
Open

Feature: Jetbrains Rider plugin #246

vboiarkin opened this issue Dec 5, 2023 · 12 comments
Labels
enhancement New feature or request

Comments

@vboiarkin
Copy link

It would be great to have support for Rider the same way we now have in the Visual Studio Plugin.

That would benefit for non-Windows .NET developers.

@PostSharpBot
Copy link
Member

Hello @vboiarkin, thank you for submitting this issue. We will try to get back to you as soon as possible.
Note to the PostSharp team, this ticket is being tracked in our dashboard under ID TP-34223.

@svick svick added the enhancement New feature or request label Dec 5, 2023
@svick
Copy link
Member

svick commented Dec 6, 2023

Thanks for the suggestion. As mentioned on Slack, this is something we would like to do eventually, but it's currently not on our roadmap.

@TimeWanderer
Copy link

This would make it an instant buy for our team. The only reason we do not use Metalama right now is that it lacks Rider plugin.

@svick
Copy link
Member

svick commented Mar 20, 2024

@TimeWanderer Which feature(s) are you missing without the plugin?

@TimeWanderer
Copy link

Diff viewer and debugging generated code would be the biggest features. I should note that I didn't have a chance to try it out comprehensively, so I am not sure if you can set them up without the plugin somehow.

@gfraiteur
Copy link
Member

Thank you for your feedback.

Note that debugging generated code is not IDE specific. You can create a LamaDebug solution configuration in Rider and it will work.

@TimeWanderer
Copy link

Thanks for the info. I assume there is no way to see the diff view or the result view after code generation is applied. Is that correct?

@svick
Copy link
Member

svick commented Apr 3, 2024

@TimeWanderer There is no diff view in Rider. Technically, there is a way to see the generated code, but I'm not sure how useful it's going to be practice.

You can do it by setting <MetalamaEmitCompilerTransformedFiles> and <MetalamaFormatOutput> to true in your csproj and the generated files are then going to be a directory like obj/Debug/net8.0/metalama after you build your project.

@niklasstich
Copy link

I've switched back to Rider after Visual Studio finally drove me to the brink of insanity and I mostly debug my aspects now by using compile time tests and looking at the outputs they generate. It's not the absolute smoothest experience but it is definitely a hell of a lot better than Visual Studio, for me personally at least. Still second the request for a Rider plugin though!

@gfraiteur
Copy link
Member

@niklasstich It's also the diff feature you're missing?

@niklasstich
Copy link

Yes, the diff feature is the main thing that's missing for me personally. What I tend to do is have Visual Studio open in the background just for looking at the diffs but actively working inside Rider, or just use the compile-time tests although those are quite verbose.
Seeing what parts of my code are compile-time or run-time would be neat too, as it's not always entirely trivially obvious, but I can bear without that for now.

@HaydenReeve
Copy link

I'm hoping to see some first-class JetBrains support soon. This is a big adoption barrier for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants