Has anyone tried the Ctrl + . refactor menu recently?

According to the documentation Invoking Ctrl + . to pull up the refactor menu should (if they are available in that context) offer you the option to add an aspect, I'm not seeing that in VS 2023 17.6.2
6 Replies
Petr Onderka
Petr Onderka•13mo ago
Yes, I can see that in 17.6.0:
No description
domsinclair
domsinclair•13mo ago
Thanks, I'll have to figure out why I'm not.
Petr Onderka
Petr Onderka•13mo ago
It's of course still possible that it's a Metalama bug, just a more complicated one. 🙂
domsinclair
domsinclair•13mo ago
It seems to depend (on my machine at least) on where the carrat is when you invoke Ctrl + . It's possible that that's a CodeRush conflict.
Petr Onderka
Petr Onderka•13mo ago
The way it's currently implemented is that your cursor has to be on the syntax that defines the member, i.e. usually directly on the name. (Though it's a bit different for a selection.)
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts
Is it possible to mix aspects that call different parts of a class (ie Methods and Properties)?Pretty much as per the subject line. Consider the following scenario where one has aspects to log mIs this section of the documentation wrong?I'm looking at the following topic (https://doc.metalama.net/conceptual/using/fabrics/adding-aspectsWhy is it indicating I have compile-time code despite not?See the screenshot - Is there some way to decorate this to make clear that nothing in the class contHow do I invoke (and cast) an introduced generically typed field?Bear with me - there's a lot going on here. Also Discord is funky about styling my code, so I'm handIntegration with VS to display introduced elements in partial classesI can use compile-time generated elements from my run-time code by marking a class as partial, but IInterpolatedStringHandlerI'm experimenting with the InterpolatedStringHandler. The idea, in simple terms is to do away with How might I list the properties of a generic type within an aspect?I want to translate the properties of a generic type constraint of the base type implemented by my tIs there a new Vsix?As it's not possible to add a comment in the releases section I've had to add this here. AccordinLive re-application and diff view updates of aspects on saveIt's awfully convenient to enable Continuous Testing in Visual Studio. I turn it on and every time IClear cache between version updatesI'm not entirely sure what the underlying issue is, but every time I upgrade Metalama versions and t