SharePoint intellisense for JavaScript in visual studio   

Tags: SharePoint 2010, General
Technorati Tags: ,

I was searching the web today how I could enable SharePoint intellisense for JavaScript.

I found the following solution.

 

The Solution:

 

Step 1: Add the following reference => System.Web.Extensions

extension

 

step 2: Create a new JavaScript file and name it: “theBom.js”

 

theBom

 

step 3: Add the following javascript reference

 

/// 
/// 
/// 
/// 
/// 
/// 
/// 
/// "C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\LAYOUTS\\SP.UI.Dialog.debug.js"/>

 

The reference we use in JavaScript is like a using in C#.

 

step 4: For the last step we need do press the following keys => ctrl + shift + j . This will update the intellisense  for the JavaScript.

 

 

Soruce: http://davemcmahon81.wordpress.com/2010/12/28/getting-sharepoint-2010-javascript-intellisense-to-work-in-vs2010/

 
Posted by  Gilissen Timmy  on  9/28/2011
24  Comments  |  Trackback Url  | 0  Links to this post | Bookmark this post with:        
 

Links to this post

Comments


  commented on  Tuesday, January 24, 2012  11:47 AM 
This arctile went ahead and made my day.


gobcgsjknsf  commented on  Wednesday, January 25, 2012  9:27 AM 
B6xaZ3 hwfthktrlyuy


dolflow  commented on  Sunday, January 29, 2012  7:42 AM 
cheap accutane online wfxqnc nexium us pharmacy 0358 toradol 81280


TheRubiksCube  commented on  Thursday, February 02, 2012  9:14 AM 
wellbutrin topamax weight loss gbn buy zovirax pills dhlk order viagra 916


wilkiesam  commented on  Friday, February 17, 2012  2:33 AM 
Thanks a heap, this worked perfectly, and more importantly, quickly to get my SharePoint 2003 site back up after someone installed software that included the new version of ASP.NET 2!



chibby0ne  commented on  Sunday, February 19, 2012  2:58 AM 
When I translate to Japanese, Did you forget the ending . ? is appeared,but in Japanese, end punctuation is ? .Can you fix or add disable option for Japanese?



bmondoux  commented on  Wednesday, February 22, 2012  4:42 AM 
My wife and I would like to say Thank you to Heather for helping us find our lovely house, Your professionalism service was terrific ,We are extremely happy and wish you all the best in your career.Shokran & Mo Sleet



bdosborn  commented on  Friday, February 24, 2012  2:57 AM 
Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as



kmayvfgt  commented on  Thursday, April 05, 2012  2:50 AM 
kmayvfgt


weyquea http://paydayloans2012.net/ no fax loans ZwXVEe short term loan --> >:]] [url=http://mypaydayloanscanada.ca/]payday loan Canada[/url] >:-[   commented on  Thursday, April 12, 2012  8:34 PM 
weyquea http://paydayloans2012.net/ no fax loans ZwXVEe short term loan >:]] [url=http://mypaydayloanscanada.ca/]payday loan Canada[/url] >:-[


sxbpdykd  commented on  Saturday, April 21, 2012  2:31 AM 
sxbpdykd


kfqzqtmg  commented on  Monday, April 23, 2012  7:49 PM 
kfqzqtmg


yqlqbvmz  commented on  Saturday, April 28, 2012  2:21 AM 
yqlqbvmz


nlqrmiuz  commented on  Thursday, May 03, 2012  4:58 AM 
nlqrmiuz


qrjxoj  commented on  Friday, May 04, 2012  3:26 AM 
qrjxoj


isbvqdo  commented on  Saturday, May 05, 2012  12:47 AM 
isbvqdo


xlvtxew  commented on  Sunday, May 06, 2012  1:34 AM 
xlvtxew


ogoxcz  commented on  Wednesday, May 09, 2012  8:19 PM 
ogoxcz


yawpcte  commented on  Friday, May 11, 2012  12:44 AM 
yawpcte


rcctwd  commented on  Friday, May 11, 2012  1:55 AM 
rcctwd


fukrmvwm  commented on  Friday, May 11, 2012  11:48 PM 
fukrmvwm


zcluuewp  commented on  Sunday, May 13, 2012  3:49 AM 
zcluuewp


qtenmvmf  commented on  Tuesday, May 15, 2012  11:13 PM 
qtenmvmf


phabas  commented on  Friday, May 18, 2012  8:07 AM 
phabas

Name *:
URL:
Email:
Comments:


CAPTCHA Image Validation