>I'm sure almost everyone else knows this but maybe it will save one person some frustration:
>
>While studying the js scripts in John Papa's Code Camper app (highly recommended) I could not get F12 or the right-click Go to Definition to work on javascript objects. Was trying to figure out as I looked at each js script where the stuff being used was defined,and there were at least 50 scripts that were candidates.
>
>Finally caught on that if you drag a script from Solution explorer onto the script you are looking at then it will be part of a definition search. Great,for jquery or jquery-ui but do I want to drag 50 scripts onto each script I am examining.???
>
>Solution : adding all references to a script called _reference.js will make all the scripts referenced available globally for intellisense and object definition search. (each added, including /// by just dragging from Solution Explorer. )
>
>Hope this saves somebody some time and frustration.
>
>( BTW, the _references.js does not have to be included into the project, it is strictly a design time thing)
Isn't the _references.js file now created automatically by the project template ?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only