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.

    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 Taddypole, 04-26-2024, 02:47 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Eduardo  
      Started by futtrader, 04-21-2024, 01:50 AM
      6 responses
      58 views
      0 likes
      Last Post futtrader  
      Started by sgordet, Today, 11:48 AM
      0 responses
      4 views
      0 likes
      Last Post sgordet
      by sgordet
       
      Started by Trader146, Today, 11:41 AM
      0 responses
      5 views
      0 likes
      Last Post Trader146  
      Started by jpapa, 04-23-2024, 07:22 AM
      2 responses
      19 views
      0 likes
      Last Post rene69851  
      Working...
      X