Spaces in Method Call

Thread is closed for posting
3 posts, 1 answers
  1. Chris
    Chris avatar
    7 posts
    Member since:
    Sep 2012

    Posted 21 May 2011 Link to this post

    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:


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

  2. Answer
    Borislav avatar
    35 posts

    Posted 24 May 2011 Link to this post

    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,
    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
  3. Chris
    Chris avatar
    7 posts
    Member since:
    Sep 2012

    Posted 24 May 2011 Link to this post

    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.

Back to Top