Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document enabling Babel syntax highlighting

See original GitHub issue

We should document how to configure editors to support “Babel” syntax scheme (JSX, Flow, ES6) for all .js files. The instructions should be added to the user guide and should include popular editors:

  • Sublime Text 3
  • VSCode
  • Atom
  • WebStorm

This issue is up for grabs. If you decide to work on it, please comment here so we don’t duplicate effort. If somebody is already working on it, please give them time and don’t try to submit a PR first.


Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

gaearoncommented, Sep 30, 2016

If we point CRA users at this page we’ll want a separate place because we don’t want them to enable transpilation in IDE. In fact this has been a source of mistakes before.

mareksuscakcommented, Sep 30, 2016

@gaearon I assume this is the right place ->

Read more comments on GitHub >

github_iconTop Results From Across the Web

Editors - Babel.js
It has very accurate syntax highlighting using a recursive-descent parser, strict recognition of the Ecma-262 language standard, supports most Rhino and ...
Read more >
jaydenseric/babel-plugin-syntax-highlight - GitHub
A Babel plugin that transforms the code contents of template literals lead by comments specifying a Prism.js language into syntax highlighted HTML.
Read more >
Babel syntax highlighting for React not working? - Super User
I've installed the Babel package in Sublime Text 3 (I see it in Preferences -> Package Settings), but the syntax highlighting for a...
Read more >
How to set JSX files default to Babel text highlighting in sublime
The syntax that Sublime selects is based primarily on the extension that the file has. You can select View > Syntax > Open...
Read more >
Babel 7 documentation - DevDocs
Babel has support for the latest version of JavaScript through syntax transformers. These plugins allow you to use new syntax, right now without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found