Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

Posted BinBinGo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Intellisense in Visual Studio for Microsoft Dynamics CRM 2016相关的知识,希望对你有一定的参考价值。

Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

posted by dynamicsnick on may 18, 2016 
CRM 2016, Javascript / Comments Off on Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

If you do much development in CRM and use visual studio for your JS development and deployments you will find yourself missing the native intellisense feature that is so handy to have when using the IDE. However there is a useful solution for those that have also had this issue.

It is an additional .js file that can be added at the beginning of your code that can help with this in Visual Studio. The js library itself is created from the team that created the MSXRMToolkit and can be downloaded at the following location here. http://msxrmtools.com/Xrm.Page/MSXRMTOOLS.Xrm.Page.2016.js

All you need to do is add the file in your visual studio JS file deploy it as a resource and then you can reference it in your other .js files to activate intellisense in your code by dragging it in VS to your js file.

Optionally you can just add the following reference on each of your JS files that you would like to see intellisense in.

/// <reference path=”MSXRMTOOLS.Xrm.Page.2016.js” />

Now you should be able to activate the intellisense options in VS by simply typing in XRM. as shown in the image below.

技术分享

 

 

转自:http://msdynamicsblog.com/tag/intellisense-in-crm-2016/

以上是关于Intellisense in Visual Studio for Microsoft Dynamics CRM 2016的主要内容,如果未能解决你的问题,请参考以下文章

Visual Studio sizeof() IntelliSense 与编译时的区别

Visual Studio 2005 - '更新 IntelliSense' 挂断

为啥 Visual Studio 2010 (Intellisense) 会停止生成接口指针?

Visual Studio 2008 intellisense用于枚举类型

Visual Studio 2019 IntelliSense 无法识别更改的值

Microsoft Visual Studio 2012 RC C++ IntelliSense 错误