Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intellisense problems

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

    Intellisense problems

    The intellisense seems to miss some of my Interfaces and Classes, I cannot pin down at the moment why that is but has anybody else had any difficulties with intellisense?

    Also, is there some way to "reset" it or tell it to redo from scratch whatever it does? Does it have some kind of a "database file" or something like that?

    Thanks,
    Matthew.

    #2
    Okay, here is a concrete example of what I am talking about.

    Should typing "B." below (see comment in code below) bring up intellisense showing both BM1 and AM1? It only shows me BM1.

    thanks,
    Matthew.

    Code:
    namespace NinjaTrader.Strategy
    {
        public  class example : Strategy
        {
            interface IA {
                void AM1();
            }
            
            interface IB {
                void BM1();
            }
            public class AClass : IA {
                public void AM1() { }
            }
            
            public class BClass : AClass, IA, IB {
                public void BM1() { }
            }
    
            protected override void Initialize()
            {            
                CalculateOnBarClose = true;
                
            }
    
            protected override void OnBarUpdate()
            {
                AClass A = new AClass();
                BClass B = new BClass();
                // On typing "B.", itellisense only offers me the method BM1 and not AM1.
            }
        }
    }

    Comment


      #3
      This might be limitation of the 3rd party editor software we're using. Unfortunately there is nothing we could do.

      Comment


        #4
        I think you might be correct. It works in Visual Studio Professional 2010.

        Is there any info about how to use VS instead of the NT editor?

        Thanks,
        Matthew.

        Comment


          #5
          To double check you are on NT7B10, correct?

          Also: I believe the docs hold some info on how to debug using VS. This might be of help.

          Comment


            #6
            I am using NT6.5.1000.14.

            Will check out the docs,

            Thanks, Matthew.

            Comment


              #7
              Have you contacted the 3rd party editor software provider and asked them to fix the intellisense issue? For new NT users especially, this bug is confusing + lack of tab completion is annoying.

              Comment


                #8
                I believe the issue should be addressed with latest NT7 which is in non-public beta right now. Please send a mail to sales AT ninjatrader DOT com in case you wanted to participate in the beta program.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,280 views
                0 likes
                Last Post Leafcutter  
                Started by WHICKED, Today, 12:45 PM
                2 responses
                19 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Started by Tim-c, Today, 02:10 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Taddypole, Today, 02:47 PM
                0 responses
                5 views
                0 likes
                Last Post Taddypole  
                Started by chbruno, 04-24-2024, 04:10 PM
                4 responses
                53 views
                0 likes
                Last Post chbruno
                by chbruno
                 
                Working...
                X