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

guth

  • Community Member
  • Posts: 57
  • Hero Points: 4
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: 4244
  • Hero Points: 310
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

  • Community Member
  • Posts: 57
  • Hero Points: 4
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.