I'm using VS2012, and one of my project-wide Javascript function namespaces has all of its exposed methods beginning with underscores _
, for example:
var NameSpace = {
_aMethod = function () { },
_anotherMethod = function () { }
};
I created a quick vsdoc file for the namespace, and the namespace itself appears, but none of the methods do. NOTE: If I remove the _
at the beginning of the methods, it works like a charm.
// This would work, and show up in the VSDOC
var NameSpace = {
aMethod = function () { },
anotherMethod = function () { }
// ^ notice no underscores
};
Is there anyway around this?
Going through the entire project and renaming them (even with a find-all) would be risky since these methods are so intertwined with everything.
If you go into Tools->Options->Text Editor->JavaScript->IntelliSense->References there should be a drop down for the reference group (depending on what type of project you may need to change this)
Once you have the right group you'll noticed there are some default included intellisense reference files. Try removing the underscorefilter.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With