This is a migrated thread and some comments may be shown as answers.

Formatting properties

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Denis Vuyka
Top achievements
Rank 1
Denis Vuyka asked on 16 Jun 2011, 10:59 AM
I've just started evaluating JustCode and like what I see so far. However one thing that annoys me a lot is property formatting.
I'm using the following (common) format for getters/setters:

public string Name
{
  get { return _name; }
  set { _name = value; }
}

However during auto-formatting I get new lines after/before brackets:

public string Name
{
  get
  {
    return _name;
  }
  set
  {
    _name = value;
  }
}

Is there any way to change the default behavior for property formatting?
Thanks in advance,
Denis 

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 20 Jun 2011, 10:07 AM
Hi Denis,

Thanks for sharing that with us. We're currently working on implementing that behavior. We should have that in our next major release, so stay tuned.

Greetings,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Denis Vuyka
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or