Bug 21431 - [VS] Layout file source code editing does not have intellisense support
Summary: [VS] Layout file source code editing does not have intellisense support
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2014-07-18 07:18 UTC by Allie Miller
Modified: 2016-10-17 21:17 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Allie Miller 2014-07-18 07:18:18 UTC
When attempting to edit a layout file in Visual Studio under Source Code Editing, intellisense does not appear. 

*Steps to Reproduce*

1. Open a new Xamarin.Android project in Visual Studio.

2. Add a new layout file under the Resources->Layout directory

3. When attempting to edit under Source, press cntrl+space

*Expected results*
Intellisense displayed

*Actual Results*
Intellisense is not getting displayed

*Versioning Information*
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0444002-02231
Microsoft LightSwitch for Visual Studio 2013

Office Developer Tools - May 2014 Update ENU   06177-004-0444002-02231
Microsoft Office Developer Tools for Visual Studio 2013 - May 2014 Update ENU

Team Explorer for Visual Studio 2013   06177-004-0444002-02231
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0444002-02231
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0444002-02231
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0444002-02231
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0444002-02231
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0444002-02231
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools   2013.2.50425
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.1.20409.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.1
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SAPReferenceManager   1.0
Manages References to Shared Projects

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools   1.1
Windows Azure Mobile Services Tools

Xamarin (2349ba7b70529ea26ba842e1ec32d054bd6abb3b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android

operating system
Windows 7 enterprise
service pack 1
Comment 1 Udham Singh 2014-07-21 09:09:11 UTC
We have checked this issue with the steps provided in bug description and observed that intellisense is not working when we try to edit into the layout and also observed that if we try to edit into the layout which is open by 'Open With...' option->select 'Automatic Editor Selector (XML)/ XML (Text) Editor/ XML (Text) Editor with Encoding', then intellisense is working fine.

Screencast : http://www.screencast.com/t/0JtofK2Ld9n

Note : We are getting same behavior with XS as well on both windows and mac.

Environment Info :

Windows 8.1
VS 2013
Comment 2 Madalyn 2016-10-17 21:17:15 UTC
Thanks for the feedback!

This should be fixed in our latest stable release.

If you see this still happening, please re-open this issue with updated build information.