Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Brackets 1.8 does not support es6 in the UI portion of extensions in Linux #13096

@catdad

Description

@catdad

Description

Since Brackets updated to Node 6, I have been using it in my extension, which I primarily develop on Windows. On Windows, I can wrote es6 both in the main UI portion of an extension, as well as in a Node domain, and both work just fine. I loaded up the extension on Brackets 1.8 (the latest installed last night) on Ubuntu 16, and the UI portion of the extension gets syntax errors for all es6 code. The Node domain portion correctly executes using es6. When I remove es6 from the Ui portion of the extension, it works fine. Isn't all JavaScript code supposed to be running against Node 6 in Brackets 1.8?

Steps to Reproduce

  1. Load an extension with es6 in the main part of the extension on Windows -- for example, use template strings using backticks.
  2. Load same extension on Linux (I used Ubuntu 16).

Expected behavior:

Both Windows and Linux should execute that extension correctly.

Actual behavior:

Windows executes the extension correctly, but Linux received syntax errors.

Versions

Windows 10 using Brackets 1.8 (latest as of 2/11/17).
Ubuntu 16.04 using Brackets 1.8 (latest as of 2/11/17).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions