Adding modern Javascript syntax

  1. What do you want to see in Hype?

The Hype editor (built in) highlight modern JS beginning with keywords like let etc.
Maybe add some code completion while at it. At least for the built in API.

  1. Have you found a workaround for this problem?

No, using an external editor for the most part
(haven’t gotten around to create an auto complete bundle for Hype, though)

  1. Are there examples of other apps with this feature? Or, have you seen examples of this elsewhere on the web? (Please include a URL)

  2. How high of a priority is this for you?

[ ] Nice to Have
[ X ] Important
[ ] Can’t use Hype without it

2 Likes

Filed! Thanks :slight_smile:.

Just that everybody knows why this will become important down the line. I still use var in my extensions and as long as you only do basic Hype Functions or you know what the limits of var are, this really isn’t a problem. But going forward it is probably better to acknowledge this ES6 syntax also in Hype and it’s editor supporting const and let highlighting.

https://dev.to/sarah_chima/var-let-and-const--whats-the-difference-69e

3 Likes

Great reference link Max… Thank You!

Like w3schools the article speaks from a point of basic knowledge and does not try to overwhelm You with a plethora of details.