Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: Intellisense with class derrived from Generics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug: Intellisense with class derrived from Generics

    This is very subtle but I thought I would go ahead and document it. The intellisense handling with Generics has been greatly improved with NinjaTrader 7 over 6.5.




    But here is a scenario where it still fails:

    Code:
    private class Fruit
    {
       public int ripe;
       public int rotton;
    }
    
    private class FruitBowl : List<Fruit>
    {
       public void CheckFruit()
       {
          for(int i = 0; i < this.Count; i++)
          {
             this[i].    //Intellisense fails here.  We should see a list with ripe and rotton.
          }
       }
    }

    thanks,
    shawnj

    #2
    shawnj, thanks for reporting in - will check with development into shortly.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X