Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resolve or refactor using statements in MonoDevelop 3.0

Tags:

monodevelop

One feature I miss tremendously now I switched from Visual Studio to MonoDevelop (for MonoTouch), is automatic using statement completion when a type cannot be recognised.

As I read from SO question “Organize imports” in MonoDevelop, this feature used to be implemented in version 2.2. However, as I also read from SO question Override/Implement Members in MonoDevelop, this feature regressed as of 3.0.

For now, I have to fall back to searching the full namespace of a type, and add the using statement manually.

Are there workarounds or plans to rebuild the feature?

like image 801
Bart Verkoeijen Avatar asked Mar 07 '26 02:03

Bart Verkoeijen


1 Answers

It turns out MonoDevelop does support the Resolve function, but it does not show it with a dropdown menu like in Visual Studio. You need to right-click the type, and then in the context menu the Resolve option will appear like below:

Context menu on a type showing the Resolve menu option

like image 65
Bart Verkoeijen Avatar answered Mar 10 '26 15:03

Bart Verkoeijen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!