One way to do this (which is what I did): in ~/Library/Application
Support/BBEdit/Custom Keywords (create the directory if it doesn't exist),
put a new file with file extension .js in which you put any keywords that
are currently lacking, each on its own line. For example, I have a file
called JavaScript.js with as its contents
let
of
ObjectId
Enter code here...
but you could put in other ES6 keywords.
On Sunday, December 17, 2017 at 3:59:32 AM UTC+1, scg wrote:
>
> I suspect there's an obvious solution to this, but I haven't been able to
> find it yet.
>
> BBEdit's JavaScript syntax highlighting doesn't seem to pick up newer
> features ('let', 'for...of', template literals, etc.). I thought there
> might be a language module available somewhere for this (e.g. an
> ES6/ECMAScript 2015 module), but I haven't found anything.
>
> Is there a way to get BBEdit to include these features in its syntax
> highlighting? (I'm currently using the free version, although I'm still in
> the trial period, so I think all features should be available.)
>
> Thanks.
>
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.