Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional chaining missing #107

Open
tkutlic opened this issue Dec 22, 2021 · 3 comments
Open

Optional chaining missing #107

tkutlic opened this issue Dec 22, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@tkutlic
Copy link

tkutlic commented Dec 22, 2021

I work on Mac. I noticed that Brackets does not recognize optional chaining.

If anyone has problems with the newer javascript syntax this is a quick fix (on Mac):

  1. Go to CodeMirror github:
    https://raw.githubusercontent.com/codemirror/CodeMirror/master/mode/javascript/javascript.js and download this file

  2. Go to:
    /Applications/Brackets.app/Contents/www/thirdparty/CodeMirror/mode/javascript

  3. Replace the existing file with the downloaded file

  4. Just in case, don't delete the old file, but rename it to old_javascript.js :)

Disclaimer:
Of course, if this worked for me - it doesn't mean that it will work for everyone :)

@abose
Copy link
Member

abose commented Jan 5, 2022

Thanks, @tkutlic for bringing this to our attention.
Looks like we need regular codemirror auto update in place.

@abose abose added the enhancement New feature or request label Jan 5, 2022
@tkutlic tkutlic closed this as completed Jan 5, 2022
@abose abose reopened this Jan 5, 2022
@abose
Copy link
Member

abose commented Jan 5, 2022

Reopening as this is being tracked for fix.

@DarylBerryhill
Copy link

Thanks tkutlic This was exactly what I've been searching for. I use Windows 10 and it worked for me. Yes I still use brackets, my favorite code editor. I have tried vscode but can't find the equivalent extensions that I frequently use in brackets. So I am very happy someone has brought this project back to life.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants