Google Solution: Xamarin.Forms Intellisense is not working inside Grid, StackLayout.. etc | SubramanyamRaju Xamarin & Windows App Dev Tutorials

Monday, 3 April 2017

Solution: Xamarin.Forms Intellisense is not working inside Grid, StackLayout.. etc

Introduction:
If you create Xamarin.Forms project, probably you may find there is a visual studio Intellisense issue inside of a layout(StackLayout, Grid.. etc) like below:
But if you type in the root level of ContentPage, Intellisense will work properly like below

If you found above issue, this article can explain you about how to fix the intellisense issue inside of a StackLayout or Grid.

Requirements:

  • When the time of this article, I am using Visual Studio 2015 Enterprise Update 3.
  • This article is prepared on Windows 10 machine.
  • This article was prepared by taking sample which was Xamarin.Forms PCL project.

Note: Please install the latest updates of visual studio, for getting better improvements in intellisense 

Description:
There is a plugin available for Visual Studio to enable intellisense for Xamarin.Forms XAML. And also we need to follow few steps below to make intellisense working properly inside StackLayout & Grid.

Step 1: Adding Xamarin.Forms Intellisense from Visual Studio
To configure open your Visual Studio. Go to Tools > Options.
Expand Environment and choose Extensions and Updates from the dialog. Click on Add. It will add a default item to the list. Enter the item Name and URL. Click on Apply and OK.
Now let's open Tools > Extensions and Updates > Mobile Essentials. We can see the Xamarin.Forms Intellisense in the right side there. Click on Download and follow the instructions to install it.
After successful installation, restart Visual Studio so that the changes can be applied to the IDE.

Step 2: Set  Source Code(Text) Editor as Default
From above step, Intellisense would work properly. But in some case, still it may not work. So right click on your xaml page (MainPage.xaml) from the solution explorer=>select open with=>Choose Source Code(Text) Editor => Set as Default and click on "OK".
Now restart your visual studio and you will find better improvement in intellisense like below:
FeedBack Note: Please share your thoughts, what you think about this post, Is this post really helpful for you? Otherwise, it would be very happy ,if you have any thoughts for to implement this requirement in any other way? I always welcome if you drop comments on this post and it would be impressive.


Follow me always at @Subramanyam_B
Have a nice day by  :)

10 comments:

  1. Hi, I can't find "Xamarin.Forms Intellisense" at Extentensions and Updates !

    ReplyDelete
    Replies
    1. No issue, continue with step 2. And let me know.

      Delete
    2. Install-Package MobileEssentials.FormsIntellisense -Version 0.1.1-pre
      enjoy :)

      Delete
  2. Amazing solution for the seekers. Thanks for posting this article.

    CPDESK is Online Web Development Tool Company located in Canada. Our main services include : Web based Software designing Tool, Web based Business Application, Web based SQL form designer, Corporate application form designer. For more details please visit our site - Web Based Business Application Designing Tool | CPDESK

    ReplyDelete
  3. I upgraded early from my Windows 8.1 Professional operating system to Windows 10 home OS being bought MS legal license from ODosta Store, Which took 5 hours due to the internet slow speed, But faced many technical issues.
    Beside of, I got everyday new updates from Microsoft server, That's why I disappointed with performance of new OS, That's why I format it and again install windows 8.
    Last week, I read at your blog as Microsoft has stopped continually updates and now we may use constant windows 10, So I purchased its license and upgraded my OS.
    Now its working well. Thanks for providing us great information and support.

    ReplyDelete
  4. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in QLIKSENSE, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on QLIKSENSE. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Avishek Priyadarshi
    MaxMunus
    E-mail: avishek@maxmunus.com
    Skype id: avishek_2 .
    Ph:(0) 8553177744 / 080 - 41103383
    http://www.maxmunus.com/

    ReplyDelete
  5. Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much

    Installment loans in alabama
    Payday loans in alabama
    Title loans in alabama
    Cash Advances in alabama

    ReplyDelete
  6. Works greats!!, the name is cocos... but works for xamarin. Thanks!

    ReplyDelete
  7. This is included in current Xamarin stable bits for VS2015/17, so the workaround is no longer necessary

    ReplyDelete

Search Engine Submission - AddMe