Comments (5)
I will change the grammar to scope to .jsx. This should allow the builtin Atom symbols for JavaScript to work for all my supported filetypes. The symbols regex provided with Atom needs to be updated to see ES6 structures so it may be of limited use!
from language-babel.
Hmm. This fixed the symbols view, but broke the linter-eslint package, which will only run ESLint on source.js
, source.js.jsx
, or source.babel
.
from language-babel.
OK I've just looked at the source for linter-eslint. Yes It seems they changed it to accommodate source.babel - very kind of them. But they don't support .jsx which is one of the options the Atom symbols package supports. I'll modify my code to change the scopeName to .js.jsx. That should make everyone happy unless someone else is using source.babel!!!!
from language-babel.
@rgrove. Just changed the scopeName to .js.jsx. This is supported by linter so can you check this and the symbols still work.
from language-babel.
Thanks! Works great now.
from language-babel.
Related Issues (20)
- Babel Fails To Highlight/Distinguish ReactJS Entities from the developer's ones!
- JSX indent on multi line elements
- How to enable autocomplete with language-bael HOT 4
- Newline indentation for JSX jumps back one tab on each new line HOT 1
- Uncaught TypeError: Cannot read property 'code' of undefined HOT 1
- Uncaught TypeError: Cannot read property 'code' of undefined HOT 1
- Uncaught TypeError: Cannot read property 'code' of undefined HOT 3
- Will not install Babel
- Not installing
- canot install language babel
- Babel crashes atom
- Remove highlight for root and GLOBAL keywords
- autocompletion and suggestion of JSX/html tags doesn't work in js files
- Map files have wrong source file name
- I can't get it to work at all. HOT 1
- unable to install language-babel via atom
- highlight matching closing and opening tags
- Using project babel core
- Source map result different then babel-cli
- Missing Regex flags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-babel.