Author Topic: CPU spinning when constructing macro  (Read 2348 times)

guth

  • Senior Community Member
  • Posts: 104
  • Hero Points: 7
CPU spinning when constructing macro
« on: August 07, 2017, 08:12:19 AM »
Hi,

I have a json file on one single line. The js beautifier does not pretty print to multiple lines, so I thought I could construct a macro that splits the dictionary on each comma. I'm on GNU Emacs emulation, so I did: CTRL-x ( CTRL-s ,

after hitting the comma sign, vs became unresponsive and utilized one CPU. I closed vs after a while.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: CPU spinning when constructing macro
« Reply #1 on: August 07, 2017, 04:18:16 PM »
We are still working on beautifying JSON for v22.

If you post a sample file and instructions on what to type to get the performance problem, we will look into this.

guth

  • Senior Community Member
  • Posts: 104
  • Hero Points: 7
Re: CPU spinning when constructing macro
« Reply #2 on: August 07, 2017, 07:54:47 PM »
I was unable to reproduce it when I tried in a freshly restarted vs. I will try some more to reproduce it.