Closed HeuristicLab-Trac-Bot closed 12 years ago
r7746 check for null expression before resolving symbol for tool tip information
Thanks for fixing this. I received another exception when intellisense wants to pop up after typing a "." on an enumerable of an anonymous type. To reproduce paste the following code into a programmable operator.
#!csharp var myEnum # Enumerable.Range(0, 100).Select(x> new { Linear # x, Squaredx*x }).ToArray();
Then try to write e.g. "
myEnum.Count();
". A NullReferenceException will be thrown once you type the "." at which point the view will become out of sync. You can type further text, but it will show up only when you close and reopen the view. Maybe you can generally prevent the view from going out of sync with the text in case exceptions occur.
Btw, I noticed intellisense doesn't work well with anonymous types in general. It doesn't list the properties in the intellisense popup window. Don't know if that would be a lot of effort to fix or is that a sharpdevelop limitation?
I tested it. Thanks for fixing this!
Issue migrated from trac ticket # 1826
milestone: HeuristicLab 3.3.7 | component: CodeEditor | priority: medium | resolution: done
2012-04-14 13:13:38: @abeham created the issue