Are there any files or vsdoc files available to get Intellisense working with the Google closure library?
Are there any files or vsdoc files available to get Intellisense working with the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve posted this question and answer for anyone else looking for the same thing, when I discovered I couldn’t find any intellisense files for the closure library I implemented my own.
You can find the repository of vsdoc files at
https://bitbucket.org/SharkAttack/closure-library-vsdoc-intellisense
The vsdoc files are a straight port over from the closure library. They’re too large to have intellisense reliable work in one single file. If for example you’d like to get the goog.dom part of intellisense working you would simply need to provide two intellisense references at the top of your JavaScrip file.
Notice that the first reference just provides the ‘goog’ namespace. You’ll need this with every closure library intellisense reference.
Here is my blog post on the same thing explaining it a little more in depth http://planetaryweb.blogspot.co.uk/2012/11/googles-closure-library-intellisense.html