Author Topic: Annoying PowerShell editing change from SE 2015 to SE 2019+  (Read 1077 times)

spongyryno

  • Community Member
  • Posts: 48
  • Hero Points: 0
In SE 2015, if I have code in PowerShell like this:

Code: [Select]
$b = if (test) {1} else {2}

...and at the end of the line, I hit <ENTER>, it correctly goes to the start of the next line.

In SE 2019 and SE 2020, it brings me to the 6th column, and I have to backspace. This is a really common pattern and it's really annoying. Is there any configuration I can set to get it back to the correct behavior?

 

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #1 on: July 18, 2021, 08:23:50 PM »
We will look into this

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #2 on: July 18, 2021, 09:11:14 PM »
Hot fix added for this. Will be in next hot fix build.

Thanks for posting

spongyryno

  • Community Member
  • Posts: 48
  • Hero Points: 0
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #3 on: July 18, 2021, 11:18:14 PM »
 :o

Holy smokes! You guys rock! Thanks!! Long live SlickEdit! :)

spongyryno

  • Community Member
  • Posts: 48
  • Hero Points: 0
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #4 on: July 19, 2021, 03:32:47 PM »
Hey... about when should I expect the next hotfix to be released?

I'm not trying to sound impatient... I'm just trying to plan ahead. In the meantime, I'm continuing to use SE2015. :)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #5 on: July 19, 2021, 04:37:40 PM »
I've attached this macro change. Download this macro. Then go to Macro>Load Module... to load this macro. Let us know if you have any problems.

This change will be in the next hot fix build. No date set but we build hot fixes about every 1-4 weeks.


spongyryno

  • Community Member
  • Posts: 48
  • Hero Points: 0
Re: Annoying PowerShell editing change from SE 2015 to SE 2019+
« Reply #6 on: July 20, 2021, 07:48:15 AM »
Thanks, Clark---that works. :)