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 bortz, 11-06-2023, 08:04 AM
                47 responses
                1,606 views
                0 likes
                Last Post aligator  
                Started by jaybedreamin, Today, 05:56 PM
                0 responses
                9 views
                0 likes
                Last Post jaybedreamin  
                Started by DJ888, 04-16-2024, 06:09 PM
                6 responses
                19 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by Jon17, Today, 04:33 PM
                0 responses
                6 views
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                15 views
                0 likes
                Last Post Javierw.ok  
                Working...
                X