Page 1 of 1

Extra parenthesis auto-inserted on Round function

Posted: Mon Jun 10, 2019 9:43 pm
by JohnMoe
Product, version and build: PowerShell Studio 2019 5.6.164
32 or 64 bit version of product: 64-bit
Operating system:
32 or 64 bit OS: 64-bit Windows 10 build 1803

When using the Round function from System.Math, PowerShell Studio inserts a double ((, like this:
  1. [System.Math]::Round((
instead of
  1. [System.Math]::Round(

Re: Extra parenthesis auto-inserted on Round function

Posted: Tue Jun 11, 2019 7:54 am
by davidc
Are you typing ( when the the PrimalSense window is open? If so, this issue should be resolved in the next service release.

Re: Extra parenthesis auto-inserted on Round function

Posted: Tue Jun 11, 2019 2:56 pm
by JohnMoe
Hi David,

I just checked, and yes, with the PrimalSense drop-down open, it puts two in, but if I press ESC to make it go away, it only inserts one. Glad to hear you're already on it. :-)

There's a more annoying issue in PSS not respecting the "Place open brace on new line" that I have read in another post here is also going to be fixed in the next release. Any idea how soon that release might be available?

Cheers,

John Moe

Re: Extra parenthesis auto-inserted on Round function

Posted: Tue Jun 11, 2019 3:32 pm
by davidc
We are working on getting a build out as soon as possible.

Re: Extra parenthesis auto-inserted on Round function

Posted: Fri Jun 14, 2019 8:34 am
by davidc
We released a new service build v5.6.165. Please let us know if the issue is resolved.

Re: Extra parenthesis auto-inserted on Round function

Posted: Tue Jul 02, 2019 5:16 pm
by JohnMoe
The new version has indeed sorted this issue for me, thanks. :-)