• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intellisense not working on third party or custom extension methods or var statements

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

    Intellisense not working on third party or custom extension methods or var statements

    Hi. I've noticed that c# extension method intellisense does not work in the editor with third party librares or own custom extensions. Also, it does not work properly with variables declared with var statement. Not sure if it is a reflection problem.

    For example, MathNet Numerics statistical extensions must be called as static methods to see intellisense suggestions.

    MathNet.Numerics.Statistics.Statistics.Mean(this IEnumerable<double> ienumerable)

    Intellisense works when methods is called like:

    MathNet.Numerics.Statistics.Statistics.Mean(listcu mpftr) but not like listcumpftr.Mean()

    Both ways compile and run okay. Same thing happens with implicitly decalred variables (var instead of explicit type).

    #2
    Hello [email protected],

    Thank you for your patience.

    Our development team is looking in to this matter. They will follow up when they have additional information.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the patience filipeh. I tried to reproducing from a couple angles here in NT8 and saw no issues getting Intelliprompt to work if I was making sure to using MathNet.Numerics.Statistics; under the Declarations section of the script in question. Could you please check into that and if needed attach a small example that I could forward to development to further review and reproduce?
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SAILIKITY, 05-22-2019, 05:41 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by rmillar, 01-09-2019, 06:02 PM
      6 responses
      58 views
      1 like
      Last Post eDanny
      by eDanny
       
      Started by mlarocco, Today, 11:39 AM
      4 responses
      19 views
      0 likes
      Last Post mlarocco  
      Started by roblogic, Today, 11:19 AM
      2 responses
      14 views
      0 likes
      Last Post roblogic  
      Started by saeed, Today, 10:17 AM
      8 responses
      39 views
      0 likes
      Last Post NinjaTrader_Kate  
      Working...
      X