Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Suggestion: the context menu of "addons" in the editor to include "New file"

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

    Suggestion: the context menu of "addons" in the editor to include "New file"

    Hi,
    Since addons allow us to add common classes, enums, etc that are typically organized in files that aren't addons (meaning aren't classes that derive AddOnBase), it would be helpful to quickly add new empty files, with just common using header and the namespace. Developing in Visual Studio allows to do that easily, but I think it would be helpful if the main editor interface would allow that as well.

    Thanks,
    Ben

    #2
    Hello Ben,

    Thank you for your post.

    I will forward this to our development team. Thank you for the suggestion.

    Comment


      #3
      Ben, could I ask you to confirm I understand your request before I send it over?

      In my screenshot of the SMA in VS, is this what you mean but for the NS editor?
      Attached Files

      Comment


        #4
        Ben,

        I was looking over this with a colleague and we thought you may actually be referring to the following:
        Code:
        namespace NinjaTrader.NinjaScript.AddOns
        {
        	public class Test1460975 : NinjaTrader.NinjaScript.AddOnBase
        	{
        		protected override void OnStateChange()
        		{
        			if (State == State.SetDefaults)
        			{
        				Description							= @"Enter the description for your new custom Add on here.";
        				Name								= "Test1460975";
        			}
        			else if (State == State.Configure)
        			{
        			}
        		}
        	}
        }
        
        [B]namespace NinjaTrader.NinjaScript.Indicators
        {
        	
        }
        
        namespace NinjaTrader.NinjaScript.Strategies
        {
        	
        }[/B]
        Please let us know with any specifics or screenshots you can provide.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pibrew, Today, 06:37 AM
        0 responses
        0 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        12 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Working...
        X