home  

sp_this_paren

Properties

  Category: Spacing options
      Type: multiple (ignore add remove force)
   Default: remove

Description

Add or remove space between 'this' and '(' in 'this (something)'.

Default: remove
this()

Examples

raw JAVA code sp_this_paren=ignore sp_this_paren=add sp_this_paren=remove sp_this_paren=force space
sp_this_paren=force
this(); this (); this (); this(); this (); this (); this (); this (); this (); this(); this(); this(); this (); this (); this (); this(); this(); this();
 

Info

  Take care default is 'remove'
  this() is used in JAVA and C# to call a constructor
  BUG? this option also works for C++
  Edited by JEAYNE

TAGS: c# java

Not the best code for this option? See how to improve the .uds file used to generate these examples.