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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    53 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    34 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    100 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    180 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    170 views
    0 likes
    Last Post CarlTrading  
    Working...
    X