Author Topic: ES6 symbol coloring  (Read 148 times)

dglasser

  • Community Member
  • Posts: 13
  • Hero Points: 0
ES6 symbol coloring
« on: September 24, 2019, 07:44:10 pm »
I'm using v21.0, and in Javascript mode, the keyword "let" is not highlighted as a keyword. Do I have to purchase an upgrade to get that behavior, or can I add "let" to the list of Javascript keywords?

Thanks,
Dave

dglasser

  • Community Member
  • Posts: 13
  • Hero Points: 0
Re: ES6 symbol coloring
« Reply #1 on: September 24, 2019, 07:48:28 pm »
Nevermind, found it.

Tools menu/Options/Languages/Web Authoring Languages/Javascript/Color Coding/Tokens Tab,

select "Keywords" radio button, click "New..." button.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2815
  • Hero Points: 426
Re: ES6 symbol coloring
« Reply #2 on: September 24, 2019, 09:11:49 pm »
For what it is worth, the latest version of SlickEdit (v24 beta) has support for TypeScript (ES6).  I verified that "let" is in the list of keywords.