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

Spaces in Method Call

2 Answers 51 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.
Chris
Top achievements
Rank 1
Chris asked on 21 May 2011, 02:56 PM
Perhaps I am missing a setting, but I have searched and can't find anything to fix this.

I like spaces after the opening parenthesis and before the closing in pretty much everything.  I have that enabled in JustCode and it works fine for things like:

object.someMethod( parameter1, parementer2 );


However, when the method doesn't take any parameters, I end up with an extra space inside the parenthesis.  So, it looks like this:

object.someMethod( )


instead of:

object.someMethod()


Is there a setting to fix that?  A minor point, I know, but it bugs me.

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Borislav
Telerik team
answered on 24 May 2011, 08:29 AM
Hi Chris,

The functionality you need is covered by space formatters. We are currently working to improve that functionality. The exact thing you mentioned is already done, but unfortunately was not included in the last internal build (2011.2.520.2) which I suppose you are using. Please wait for the next internal build. Sorry for the inconvenience.

I am attaching a screenshot of the options dialog, so you will know where to search the settings in the new internal build.

All the best,
Borko
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
0
Chris
Top achievements
Rank 1
answered on 24 May 2011, 01:11 PM
Yes, that is the build I am using.

It's not a big inconvenience, just a minor annoyance.  I'll look forward to the next build.

Thanks,
Chris
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Borislav
Telerik team
Chris
Top achievements
Rank 1
Share this question
or