原文 Get Intellisense for .axml files in Visual Studio

So in order to get some intellisense support for .axml files, we will add the required Schema.

Let's follow certain steps and see where we land: 
1. Open the .axml file 
2. Select Designer in the source view. 
3. From the menu bar, select XML -> Schemas... 
4. In the XML Schemas dialog, click on Add 
5. Navigate to C:\Program Files (x86)\MSBuild\Xamarin\Android 
6. Select android-layout-xml.xsd and click on Open. 
7. Click on OK to confirm and dismiss the dialog.

------------------------------------

When you manually edit .axml files inside Visual Studio 2015 you don’t have any minimal intellisense support, and, as Visual Studio user, you know how frustrating is typing without any kind of help.

Since editing the same file using the XML editors brings you a ‘partial’ intellisense i tried to find what was the difference and finally found how to enable it also inside Android designer source view.

  1. 1-With Designer in source view, select Visual Studio’s xml menu and then Schemas…
  2. 2-Navigate to C:\Program Files (x86)\MSBuild\Xamarin\Android and select android-layout-xml.xsd file.
  3. 3-Click Ok to confirm and dismiss the dialog.
  4. Here’s what you now get when typing android: in source view:

Get Intellisense for .axml files in Visual Studio相关推荐

  1. 未解决:错误的结果 2 (从“D:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe”返回)。...

    今天在编译一个VC2005的应用程序时提示该错误.在网上搜了一下这个文件,原来是一个C/C++优化编译器小工具. 我在生成正好在项目属性里面设置了优化速度功能,发现了问题所在. 于是我打开cmd,直接 ...

  2. 1c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(24) : fatal error C1189: #err

    1>c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(24) : fatal error C1189: # ...

  3. c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189:

    编译时报下面错误的解决方法 c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error ...

  4. LINK : fatal error LNK1158: cannot run D:\Program Files\Microsoft Visual Studio\VC98\BIN\cvtres.exe

    rebuild一下,是你的debug目录问题,而不是VC的问题. 如果还不行的话,查看Project/setting/link/output file name下的目录是否是debug/zw.exe, ...

  5. How to get Intellisense for Web.config and App.config in Visual Studio .NET?(转载)

    下载:http://files.cnblogs.com/wujm/clrconfig.rar How to install Download the CLRconfigSchema.zip file ...

  6. visual studio code .net 开发

    Visual Studio确实是相当好用,各种简化操作什么的简直不要太舒服.但其容量太大,有时不是很方便,所以今天简单介绍一下另一个工具--Visual Studio Code. 虽然相比于老大哥Vi ...

  7. Visual Studio 2019 发行说明

    原文:https://docs.microsoft.com/zh-cn/visualstudio/releases/2019/release-notes 单击按钮即可下载最新版 Visual Stud ...

  8. Visual Studio 编程技巧

    技巧 0 删除文件中的当前行: Home + Shife-End + Delete 技巧 1.1 避免意外复制一个空白行 工具->选项->文本编辑器->所有语言->常规: 没有 ...

  9. [vs2008]Visual Studio 2008 SP1添加或删除功能提示查找SQLSysClrTypes.msi文件

    前言 今天接到领导布置的一个任务,是之前同事负责的项目.离职了,现在客户有些地方需要修改,由于我之前参与过,就落在我的头上了. 然后我就把代码弄了过来,打开发现其中需要用到水晶报表.(我觉得不好用,不 ...

  10. Visual Studio中的《C# 语言规范》

    无意中的无意发现了个好东西--<C# 语言规范>,您不用到处下载,它就在您的Visual Studio安装目录中,例如:F:\Program Files\Microsoft Visual ...

最新文章

  1. js自动触发onclick_每日一题JS中最基本的this情况分析
  2. 如何通过SQL按内容拆分字段(将一个字段值拆分两个字段)
  3. RPC框架系列——Protocol Buffers
  4. Spring开发人员知道的一件事
  5. android smart scale
  6. CTS ( 9)---CTS 源码分析
  7. android开发我的新浪微博客户端-用户授权页面功能篇(3.2)
  8. 应用前瞻||强化学习求解车间调度问题的未来
  9. Selenium免密码登录学习的方法
  10. APP 基本框架设计
  11. 稳压二极管及特性介绍
  12. kali里的powersploit、evasion、weevely等工具的杂项记录
  13. 芯片前沿 | 云端芯片功耗问题日益严重
  14. java如何打印棋盘_java打印国际象棋棋盘的方法|chu
  15. RMAN实战1:RMAN备份数据库、控制文件、参数文件、FRA、归档日志
  16. eBPF用于Linux防火墙数据包过滤
  17. Lawliet|C语言学习笔记5——循环结构
  18. matlab汽车稳态响应特性仿真,基于MATLAB的车辆工程仿真实例
  19. 机器学习学习记录2:归纳偏好(奥卡姆剃刀原则和NFL定理)
  20. 关于AD转换的按键检测想法

热门文章

  1. Eclipse导入Android项目 Eclipse常见错误 中文乱码问题
  2. 得到页面中的所有链接函数
  3. net core 通过js打印集合(创建树)
  4. Pythonic是什么?
  5. 用户画像案例一:汽车精准营销
  6. BZOJ 1857: [Scoi2010]传送带
  7. Lucene.Net
  8. BZOJ 1230: [Usaco2008 Nov]lites 开关灯( 线段树 )
  9. 数据整理—dplyr包(filter系列)
  10. R_差值_拟合_回归_样条