We have received some requests if we could add the entity separator lines in the VS editor.
Today I have implemented that (and yes I am also working on performance improvements as promised)
I have a few questions:
- Should this be "always on" or do you want to be able to enable/disable this
- As you can see in the image I am now visually including the XML comments before the entity and I am adding the separator line before the XML comments. Is this also what you would want to do.
Or should this also be an option ?
I know that XIDE does not put the separator line before the XML comments.
I would appreciate your feedback.
Robert
New feature
New feature
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
New feature
I think it would be better to have a switch to control whether to show the entity separator lines or not.
A little extravagance: can I define the "format" of entity separator lines? For example: I like to use "*********************"
A little extravagance: can I define the "format" of entity separator lines? For example: I like to use "*********************"
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
New feature
Robert,
My opinion is that it is necessary to give the option to enable/disable it and give the color of this dividing line to be adjusted. In this case, it will be possible to make it dim so that it is present on one side, and on the other side is not very conspicuous. Well, or completely turn it off if you don't like it.
Best regards,
Leonid
My opinion is that it is necessary to give the option to enable/disable it and give the color of this dividing line to be adjusted. In this case, it will be possible to make it dim so that it is present on one side, and on the other side is not very conspicuous. Well, or completely turn it off if you don't like it.
Best regards,
Leonid
Best regards,
Leonid
Leonid
New feature
Leonid,
I did not invent a new color for this. I am using the color that is defined in the VS color dialog for "Outlining Margin Vertical Rule". The C# editor support uses that same color.
I will indeed add an option to enable/disable this.
What about the XML comments?
Should the separator line be before that comments or between the comments and the method.
I consider the (optional) attributes as part of the method by the way.
Robert
I did not invent a new color for this. I am using the color that is defined in the VS color dialog for "Outlining Margin Vertical Rule". The C# editor support uses that same color.
I will indeed add an option to enable/disable this.
What about the XML comments?
Should the separator line be before that comments or between the comments and the method.
I consider the (optional) attributes as part of the method by the way.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
New feature
Xinjie
If you want *************** as delimiters then you can use that in your code of course.
The separators that I am talking about are "virtual".
Robert
If you want *************** as delimiters then you can use that in your code of course.
The separators that I am talking about are "virtual".
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
New feature
+1robert wrote:Leonid,
I consider the (optional) attributes as part of the method by the way.
The idea of a separator is to optically bundle lines which "belong" to each other - and the /// certainly DON'T belong to the previous entity
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
New feature
My opinion is definitely before the comment. After all, a comment is essentially a part of one whole with the function it describes.robert wrote: Should the separator line be before that comments or between the comments and the method.
Best regards,
Leonid
Best regards,
Leonid
Leonid
New feature
Sure, the feature is nice! And definitely before the XML comments as those are part of function definition.
New feature
Robert,
I wish you didn't give me challenges at 40C, but now also XIDE (optionally) puts the separator before the XML tags
Btw, I personally prefer showing the line separators to be optional. Always showing them before the XML tags is probably fine.
Oh, and very nice new feature those entity separators in VS! I know it's a lot more complicated implementing this in VS than it was doing it in XIDE.
I wish you didn't give me challenges at 40C, but now also XIDE (optionally) puts the separator before the XML tags
Btw, I personally prefer showing the line separators to be optional. Always showing them before the XML tags is probably fine.
Oh, and very nice new feature those entity separators in VS! I know it's a lot more complicated implementing this in VS than it was doing it in XIDE.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
New feature
An option to enable/disable his feature would be nice. But the default IMHO should be enabled.
And since the XML Comments are for the following method, the separator should be before the XML Comments.
Best regards
Volkmar
And since the XML Comments are for the following method, the separator should be before the XML Comments.
Best regards
Volkmar