Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Editor Bug - Intellisence doesn't work properly with Generics Collections

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

    Editor Bug - Intellisence doesn't work properly with Generics Collections

    Nothing major, but when you get used to using Intellisence its hard to live without it and the Generics Collection Class is just too sweet.

    //Beginning of Code Example:

    using System.Collections.Generic;

    public class MyObject
    {
    public int valueA;
    public int valueB;
    public int valueC;
    }

    public List<MyObject> myList = new List<MyObject>();

    public MyObject myObject1 = new MyObject();

    myObject1.valueA = 1
    myObject1.valueB = 2
    myObject1.valueC = 3

    myList.Add(myObject1);

    public MyObject myObject2 = new MyObject();

    myObject2.valueA = 7;
    myObject2.valueB = 8;
    myObject2.valueC = 9;

    myList.Add(myObject2);

    for (int i = 0; i < myList.Count; ++i)
    {
    int x = myList[i].
    }

    //End Code Example


    That last dot "." should drop down a list of members from MyObject - valueA,valueB,valueC.

    If I go ahead and grudgingly type(using keyboard) out the member "valueA" (myList[i].valueA) it does compile are runs properly.


    thanks,
    shawnj

    #2
    Thanks, will report to the developer of the editor we use.
    RayNinjaTrader Customer Service

    Comment


      #3
      This is a known limitation. Thanks for reporting though.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by PaulMohn, Today, 05:00 AM
      0 responses
      8 views
      0 likes
      Last Post PaulMohn  
      Started by ZenCortexAuCost, Today, 04:24 AM
      0 responses
      6 views
      0 likes
      Last Post ZenCortexAuCost  
      Started by ZenCortexAuCost, Today, 04:22 AM
      0 responses
      3 views
      0 likes
      Last Post ZenCortexAuCost  
      Started by SantoshXX, Today, 03:09 AM
      0 responses
      16 views
      0 likes
      Last Post SantoshXX  
      Started by DanielTynera, Today, 01:14 AM
      0 responses
      5 views
      0 likes
      Last Post DanielTynera  
      Working...
      X