Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot get Xamarin Xaml Intellisense working in VS 2015

I've been trying to get intellisense working for quite some time now, and am unable to see anything outside of

!
![CDATA[
?
  • Visual Studio 2015 Update 2
  • Resharper is installed but disabled
  • Referencing the latest pre-releases of Xamarin Forms (2.3.0.38-pre2)
  • Xamarin for Visual Studio (4.2.21)
  • Portable project referencing the proper 2.3.0.38-pre2 targets file from NuGet
  • Enable XAML Language for Xamarin.Forms

What else am I missing? I feel like it shouldn't be this difficult.

like image 624
Jeff Avatar asked May 04 '16 20:05

Jeff


2 Answers

I resolved this issue by doing a simple workaround and here is the solution.

Right-click the XAML file in the Solution Explorer and select

Solution 1: "Open With... > Source Code (Text) Editor".

and in another time this also worked for me:

Solution 2: "Open With... > Source Code (Text) Editor with Encoding"

This workaround gave me the desired XAML IntelliSense even without installing the extra "Enable XAML Language for Xamarin.Forms" extension and even with ReSharper installed but suspended.

like image 183
Usman Avatar answered Oct 19 '22 18:10

Usman


Extensions > Tools > Enable XAML Language for Xamarin.Forms

Enable XAML Language for Xamarin.Forms

Enables the VS built-in XAML language service to provide editing and intellisense for Xamarin.Forms XAML files.

https://visualstudiogallery.msdn.microsoft.com/8195a8e2-a842-4389-a8cb-34e4672e2e13

Update:

From @Jeff:

Seems I had to completely uninstall Resharper, not just disable it. Then reinstall the "Enable XAML Language for Xamarin Forms extension".

Additional info:

http://www.cazzulino.com/enable-xaml-forms-intellisense.html

Xamarin XAML Enabled:

enter image description here

XML Enabled and thus no Xamarin XAML Intellisense:

enter image description here

like image 32
SushiHangover Avatar answered Oct 19 '22 18:10

SushiHangover