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

greggman

  • Senior Community Member
  • Posts: 280
  • 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: 1818
  • Hero Points: 151
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: 1818
  • Hero Points: 151
Re: modern javascript formatting support
« Reply #2 on: May 16, 2019, 06:47:33 PM »
Should be fixed in the next hotfix.