# ES6 usage with p5 ide mode

**URL:** <https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196>\
**Category:** Development\
**Created:** [September 2, 2018, 5:32pm UTC](https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196 "2018-09-02T17:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokoo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@kokoo](https://discourse.processing.org/u/kokoo)\
**Post date:** [September 2, 2018, 5:32pm UTC](https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196/1 "2018-09-02T17:32:34Z")

</div>

Processing IDE gives errors due to some syntax checking that p5js-mode was using. Are there any plans for ecmascript 6 implementation in editor? Can’t use ‘let’ and classes

> <https://github.com/fathominfo/processing-p5js-mode/issues/18>

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [September 2, 2018, 6:06pm UTC](https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196/2 "2018-09-02T18:06:26Z")

</div>

This next [GH post](https://github.com/processing/p5.js/issues/2503) is related. Check the latest comment form Lauren.

Also there was a post not long ago: [How to declare a constant in Processing editor & p5.js? (reported issue)](https://discourse.processing.org/t/how-to-declare-a-constant-in-processing-editor-p5-js-reported-issue/2855/9)

Kf
