Would it be possible to add Folder in VS and MC NET ?

Questions about MultiCharts .NET and user contributed studies.
Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Would it be possible to add Folder in VS and MC NET ?

Postby Emmanuel » 23 Aug 2012

Hi,


Would it be possible to add Folder in VS and MC NET (see attachement) to classify and to manage indicators and functions.

With Visual Studio we can add folder, but it don't seem to work with MC.NET. (When we put an indicator in a folder, it seem that MC .NET editor loose track of the indicator ?)

Under Visual Studio, this feature is pratical to organize the project

Would it be possible in the next release of MC.NET to add this feature.

This would be practical .

Emmanuel
Attachments
Capture.JPG
(45.87 KiB) Downloaded 728 times

Xyzzy
Posts: 162
Joined: 19 Mar 2011
Has thanked: 43 times
Been thanked: 79 times

Re: Would it be possible to add Folder in VS and MC NET ?

Postby Xyzzy » 23 Aug 2012

Good thinking. I was planning to submit a feature request about the same issue.

More specifically, you can organize your code in folders in the PowerLanguage .Net editor. However, those folders don't show up in Visual Studio when you open the PLStudies2010.sln file. Instead, all of the functions, indicators and signals show up in a long, single list in Visual Studio's Solution Explorer. This makes it difficult to find particular files in Visual Studio.

It would be better if any folders in the MultiCharts editor were reproduced in Visual Studio, and vice versa. It looks like Visual Studio simply mirrors the underlying folder structure of the .cs files in the filesystem -- e.g., if you create a subfolder in the Solution Explorer, then Visual Studio creates an actual folder in the file system that matches that subfolder, and puts the .cs file there.

In contrast, the PowerLanguage .Net editor seems to store all of the .cs files in a single folder in the file system. I.e., if you create a new folder in the editor, it won't actually create a corresponding subfolder in the file system. This might need to be changed for Visual Studio compatibility.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Would it be possible to add Folder in VS and MC NET ?

Postby Henry MultiСharts » 24 Aug 2012

More specifically, you can organize your code in folders in the PowerLanguage .Net editor. However, those folders don't show up in Visual Studio when you open the PLStudies2010.sln file.
That is correct.
Would it be possible to add Folder in VS and MC NET (see attachement) to classify and to manage indicators and functions.
Implementation of this functionality is not a trivial one.
We will consider such improvement in the future.

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: Would it be possible to add Folder in VS and MC NET ?

Postby Emmanuel » 27 Aug 2012

Hello Henry,

I understand, Thank you for your answer

Emmanuel

3strategy
Posts: 22
Joined: 31 Dec 2014
Has thanked: 2 times
Been thanked: 1 time

Re: Would it be possible to add Folder in VS and MC NET ?

Postby 3strategy » 31 Dec 2014

Such folders would be for organization, but the files can keep the default MultiCharts namespace - so it should be easier for MC developers.


Return to “MultiCharts .NET”