3 ms·
In visual studio your example would work. You can even do it on user defined types. It's pretty accurate and actually finds every place where it seems reasonabl
by Too 15y ago
In visual studio your example would work. You can even do it on user defined types. It's pretty accurate and actually finds every place where it seems reasonable where it could have the information.
But it doesn't go much further than that. For example parameters inside functions don't have intellisense and return values from functions rarely do, but sometimes.
- WayneDB 15y agoYou're right about parameters inside of functions, but wrong about return values. It does work for return values as long as visual studio can deduce the type by running the code. For parameters, you have to help visual studio out by documenting what the parameter does using XML code comments (e.g. /// <param name="arg1" type="String">Arg1 description</param>).