Author Topic: modern javascript formatting support  (Read 824 times)

greggman

  • Senior Community Member
  • Posts: 277
  • Hero Points: 14
modern javascript formatting support
« on: March 11, 2019, 06:32:23 am »
slickedit doesn't appear to understand modern javascript. Example

Code: [Select]
async function foo() {
           <- cursor gets put here aligned with the word 'function'
   <- should be here according ident settings

I'm guessing the formatter is looking for the word 'function'?  It's possible this is just a configuration issue that I need to set


patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1092
  • Hero Points: 100
Re: modern javascript formatting support
« Reply #1 on: March 11, 2019, 01:31:25 pm »
Seems like a bug.  The editing code is aligning with function, formatter seems to get it right.  I'll take a look at it.  Should be hot fixable.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1092
  • Hero Points: 100
Re: modern javascript formatting support
« Reply #2 on: May 16, 2019, 06:47:33 pm »
Should be fixed in the next hotfix.