C++.net Single line of code breaks intellisense?
I've been a c++.net developer for four years, and have run into several strange idiosynchrocies. However, the most frustrating one is when intellisense, just stops working.
I have the following function:
Void panelXYReport::ProcessResult()
{
try
{
this->panelReportBase::ProcessResult();
this->RequestGetSelectedTestpoints(this, selectedTestpointNumbers); //<- THIS LINE
for each(rptTestpoint^ thisTestpoint in this->TestpointCollectedValues)
...
Intellisence works fine on the first - third line of the function. Once I hit the event there, intellisense just stops working until the end of the function. What I mean by stops working, is that if the cursor i开发者_如何学编程s beofre that line, its fine. Afterwards, it doesn't. Here is the declaration and event information:
public:
/// <summary>
/// event to ask the testpoint grid which testpoints are selected
/// </summary>
event TestpointListEventDelegate<long>^ RequestGetSelectedTestpoints;
Any thoughts? Thanks in advance.
Wouldn't a thirdparty addon for visual studio which improves intellisence maybe solve this, such as Visual Assist X?
Visual Assist X improves on default IntelliSense with Enhanced Listboxes, parameter information that is frequent and helpful, and hovering tooltips for virtually all symbols. Instantly view the context and definition of a symbol just by clicking on it. Hover over symbols while browsing code to see overrides, other members of its class, related enums, etc. Get the information you need without hunting for it.
Or maybe just upgrading to a newer version of Visual Studio?
精彩评论